Help:Monolingual text languages

From Wikidata
Jump to navigation Jump to search
Other languages:
Bahasa Melayu • ‎Deutsch • ‎English • ‎Esperanto • ‎Nederlands • ‎dansk • ‎español • ‎français • ‎polski • ‎português do Brasil • ‎svenska • ‎русский • ‎հայերեն • ‎العربية • ‎अवधी • ‎中文 • ‎日本語 • ‎粵語
Language list for Wikidata.png

The list of Wikimedia language codes available for monolingual text values is fixed. It can only be changed by the development team.

Special language codes[edit]

In addition to language codes describing actual languages, there are four special language codes available:

  • und: For content whose language is not yet determined (undetermined)
  • mis: For content whose language is known, but has no language code (uncoded languages); we also use it for content whose language has a language code, but is not yet available on
  • mul: For content in multiple languages (multiple languages), meaning either content that is the same in more than one language or content that contains more than one language so a reader would need to know all of them to understand it
  • zxx: For content that is not linguistic (no linguistic content, not applicable)

See the #Lists below for current uses.

When a language code is missing[edit]

It might happen that you need a language code that is not yet supported. In that case, follow these steps:

  • Use mis as language code in the statement, reference or qualifier where you need the unsupported language code
  • If possible, add a qualifier language of work or name (P407) with the item for the language; create an item for the language, if none already exists
  • If possible, add a reference for the correct language to the statement
  • Request the language code if it fulfils the requirements for a new language code (see below)

Getting a language code added[edit]

The preferred way to request a language code to be added for monolingual text values is by opening a new ticket in Phabricator. Add the following information:

  • The language code (examples: lkt, sr-cyrl)
  • Language name in the language itself or English (examples: Lakota, Serbian in Cyrillic)
  • The used script, if not obvious (example: Cyrillic)
  • Where and when the language was or is used (example: In use by the Lakota people in North America)
  • The Wikidata item id (example: Q33537)

Make sure you link to the item or property where you want to use the language code. If you didn't already add a reference to the statement, add it to the Phabricator ticket.

If you don't want to or can't use Phabricator, add your request to Wikidata:Contact the development team.

Request language code on Phabricator

Requirements for a new language code[edit]

Note: This is work in progress and not finished policy

A new language code probably has to fulfill the following requirements:

A language code does not have to fulfill the requirements of the language proposal policy for new Wikis. Specifically:

  • The language doesn't need an active community or amount of usage
  • The language code doesn't need to denote a unique language (For example, we have nn and nb, but also no, which is a macrolanguage covering both)

In general, if you need a language code to correctly model real-world data, it should be accepted as long as it's a valid language code.