GlossaryProductsIntermediate

BCP-47

Also written: RFC 5646

A standard for identifying languages, using tags to specify language, region, or dialect.

In plain terms

BCP-47 is a set of rules for creating codes that identify languages. Think of it like a shorthand for saying which language a piece of text or speech is in.

For example, 'en-US' means English spoken in the United States, while 'es-ES' means Spanish spoken in Spain. This helps computers know how to process and display text correctly, especially when dealing with multiple languages.

The expert version

BCP-47 (Best Current Practice 47) is the IETF standard for language identification. It defines a syntax for language tags, which are composed of one or more 'subtags' separated by hyphens. Primary subtags identify a language (e.g., 'en' for English), while optional subtags can specify a script (e.g., 'Latn' for Latin script), region (e.g., 'US' for United States), or variant (e.g., 'macos' for a specific macOS variant).

This standard is crucial for internationalization and localization, enabling systems to correctly select fonts, sort text, and apply language-specific rules. It is widely used in web standards (HTML, XML), operating systems, and software applications, including AI models that process and generate multilingual content.

Why it matters now

BCP-47, also known as RFC 5646, is a standard for language identification. Frontier AI labs like Google Gemini are using it to specify the languages their models support, especially in applications like speech-to-text where accurate language detection is crucial for performance and user experience.

Where it shows up 2 items, newest first
How each company uses it
Google Gemini
Google Gemini uses BCP-47 tags to identify and support a wide range of languages in its speech-to-text services, ensuring accurate transcription across different linguistic variations.
Related terms

ISO 639ISO 3166LocalizationInternationalizationUnicodeLanguage detection

Often confused with
ISO 639
A standard that defines language codes, often used as primary subtags w
ISO 3166
A standard that defines country codes, often used as region subtags wi
RFC 5646
BCP-47 is defined by RFC 5646, which specifies the format for language
Origin

BCP-47 is the Internet Engineering Task Force's (IETF) recommended practice for language identification. It is defined in RFC 5646, which updates and obsoletes previous standards like RFC 4646. Source ↗

Try this about 5 minutes

When using a multilingual AI tool, try inputting text or speech in a language other than your primary one. Observe if the AI correctly identifies the language and responds appropriately. For example, ask Google Gemini to transcribe a sentence in Spanish and then one in French.

Try it: Playbook entries that use thisPlaybook →

The Playbook: reusable how-tos, prompts, configs and tips pulled out of the news.

Questions people ask

What is the difference between BCP-47 and ISO codes?
BCP-47 is a framework for language tags that often uses ISO 639 (language) and ISO 3166 (region) codes as components. BCP-47 tags can include more than just language and region, like scripts or variants.
Why is language identification important for AI?
Accurate language identification helps AI models process text and speech correctly, leading to better performance in tasks like translation, transcription, and content generation across different languages.

First seen on Subvolts Sep 12, 2026. Updated Sep 30, 2026. Written by an AI model from the items above and reviewed against them weekly; report an error.