How to get language name?
-
If I use
get_bloginfo('language')
I getit-IT
as a result, but how can I get the name of the language, both in English and in local language?
I mean:- is there a function that given
it-IT
as input returns its local name (“Italiano”)? - is there a function that given
it-IT
as input returns its English name (“Italian”)?
Obvously the question is related to all languages.
- is there a function that given
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to get language name?’ is closed to new replies.