Still about languages and countries codes.

Working on a new plugin, I have made the following “discovery”:

As we all know, WordPress has been technically built to be translated in different languages.

The naming convention used to identify the language, is based on the ISO-639 language code (e.g. pt for Portuguese) followed by the ISO-3166 country code (e.g. _PT for Portugal or _BR for Brazil).

Complete lists of codes can be found at the GNU website: country codes and language codes.

But also at the ISO Standards website at: ISO 3166-1 and ISO 639-2 webpages and on wikipedia: country codes list and language codes list.

The naming convention used to identify the languages in wordpress is curiously idenitcal used by Google News to localize its news as showed in the table in my previous post.

No related posts.

TrackBack

TrackBack URL for this entry:
http://www.stefaniamarchisio.com/2010/03/still-about-languages-and-countries-codes/trackback/

Post a comment