Official language by country reference
This reference lists the official and co-official languages for each country, so you can answer “what language is spoken in this country?” and scope localization work. It is searchable both ways — by country to see its languages, or by language to find every country that uses it officially.
How it works
Each country entry holds one or more official languages. There is no calculation — official status is a legal and constitutional fact recorded per country. The tool supports two lookups:
- By country — filter to a country name and read its official language list.
- By language — type a language and the tool returns every country whose official list contains it.
Where a country has no statutory official language but a clear language of government, the entry marks it as de facto. Co-official and major regional languages are included so the list is useful for translation scoping, but it does not attempt to enumerate every minority dialect.
Using this for software localization
This reference is particularly useful when scoping which locales a product or website needs to support. Some practical patterns:
Start with official languages, then layer in reality. Official status tells you the legal minimum; market size and user behaviour tell you the practical scope. Canada is officially French and English at the federal level, but a product targeting Quebec should treat French as a genuine primary locale, not an afterthought.
Language does not equal locale. Spanish is official in over 20 countries, but es-ES, es-MX, and es-AR have real vocabulary and formatting differences (decimal separators, currency placement, date formats). The official language narrows the set; locale codes pin the exact variant.
Build locale codes from this table. Take the language name from this reference, find the country’s ISO 3166-1 alpha-2 code in the country code reference, and combine them: French in Belgium is fr-BE, Arabic in Egypt is ar-EG, Portuguese in Brazil is pt-BR.
Countries with many official languages need explicit locale strategies. South Africa has eleven official languages but most digital products cover English, Zulu, and Xhosa as a reasonable initial scope. Switzerland’s four official languages split strongly by region — German in the north and east, French in the west, Italian in the south, Romansh in one canton. Knowing this from the outset avoids building a single monolithic “Switzerland” locale.
De facto entries matter in practice. The United States has no statutory federal official language, but omitting English from any US localization strategy would be absurd. The reference marks these as de facto so you can use them practically while understanding their legal status.
Highly multilingual countries
A few countries have unusually large official language lists that affect localization planning significantly:
- South Africa — 11 official languages including Zulu, Xhosa, Afrikaans, Sesotho, English, and several others
- India — 22 scheduled languages under the Eighth Schedule, with Hindi and English as official languages at the union level; states each have their own official languages
- Switzerland — 4 official languages with strong regional concentration
- Bolivia — 37 official languages including Spanish and numerous indigenous languages
- Luxembourg — Luxembourgish, French, and German are all administrative languages
Tips
- Searching Arabic returns the 22 members of the Arab League plus several North African and Middle Eastern countries — useful for sizing an Arabic translation project.
- Searching French spans Africa, Europe, and the Caribbean and reveals the scale of the Francophone world beyond France itself.
- For formal localization contracts, confirm with the client which specific regional variants are in scope, since “Spanish” or “French” can cover significant variation.