LANGUAGE CODES, COUNTRY CODES, AND LOCALES

Language and country codes were created by the Organization for International Standardization (ISO). ISO 639, Codes for the representation of names of languages, includes two parts: 639-1 and 639-2. Part 1 defines two-letter codes for 136 languages and Part 2 expands the number of languages included to 460, using three-letter codes. Because most companies use well under 50 languages on their web sites, 639-1 works perfectly well, but keep in mind that there are more than 6,000 spoken languages in the world. The SIL International (www.sil.org) has proposed a comprehensive list of language codes that effectively includes everything. For the time being, however, stick with the two-digit codes. ...

Get Beyond Borders: Web Globalization Strategies now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.