Template:LanguageInLang/doc

From WikiEducator
Jump to: navigation, search

Purpose

Returns the language in the language given the language code.

This template also defines the languages and corresponding codes for use with related templates.

Usage

Markup:

{{LanguageInLang}}

returns: unknown

Markup:

{{LanguageInLang|it}}

returns: italiano.


{{LanguageInLang|ja}}

returns: 日本語.

See also

Similar templates: {{LanguageInEnglish}} (cross-reference), {{LibreInLang}}


To Do

  • Add languages
    • Sources and process:
      • Translations of the term “free software” lists some codes and names of languages but in English.
      • Look up "Free software" on Wikipedia and mouse-over the links under "Languages" in the left panel to the topic on the various language instances of Wikipedia. The language is named in the language and the mouse-over gives the name of the language in English and the link (usually in the status bar foot of the browser) shows the code at the start of the URL.
      • Use various on-line dictionaries and translators as required to make sure of the correct language names (e.g. translate "French" from English to French).
      • Ask one or more native speaker(s) to confirm.
      • Check that relevant pages are in agreement (e.g. this page, and related templates (e.g. {{LibreInLang}}, ...).
      • discuss on-line on WikiEducator (and elsewhere).
      • When sure, add or change a language entry in this template (etc.) by editing the source.
  • Double (multiple) check everything (help welcome :-)