Template:Language category

From translatewiki.net

Error: please use {{Language category|LANG}} with a BCP 47 language tag in parameter.

The documentation of this template is included from its /doc subpage. [Edit]
Usage:
Prefill the basic content a "Category:LanguageName" description page which shows the translated language name (in the user language) and the native language name (autonym) after its recommanded BCP 47-compatible language tag.
Syntax:
Parameters:
  • 1= (required) the preferred language code for the language represented by the category description page in which this template is used (should be a BCP 47 language tag, or a legacy Wikimedia interwiki language code)
Example:
This category is indexing all pages related to the translation into Arabic (“Arabic” ; autonym :العربية” ; code : ar).
This category is indexing all pages related to the translation into German (“German” ; autonym :Deutsch” ; code : de).
This category is indexing all pages related to the translation into English (autonym :English” ; code : en).
This category is indexing all pages related to the translation into French (“French” ; autonym :français” ; code : fr).
This category is indexing all pages related to the translation into undetermined language (“undetermined language” ; autonym :und” ; code : und).
Tracking category for possible problems:
See also: