Jump to content

This site is currently in alpha, so you will run into rough edges.

Please send feedback or ideas to connect@deeptech.wiki

Template:Which lang/doc: Difference between revisions

From The Deep Tech Wiki
w>W.andrea
 
m 1 revision imported
 
(No difference)

Latest revision as of 03:48, 15 November 2025

This template is used to tag non-English text whose language isn't evident.

Why is this tag here?

Non-English words should be tagged with {{lang}} (for languages shown in their native writing system) or {{transliteration}} (for transliterations into the Latin alphabet). This is useful for a variety of reasons.

In this case, an editor (probably a participant in the moss spell check project) attempted to tag this word or phrase, but could not identify the language.

How can I fix it?

If you aren't sure of the language being used, you can:

If you are certain of the language being used:

  1. Find the 2- or 3-letter ISO 639 language code. You can go to the Wikipedia article on the language in question, or see the advice and links to lists at Template:Lang.
  2. Tag it:
    • For languages that are being presented in their native writing system (for example, any language that uses the Latin alphabet, like French; or Japanese written in kanji and kana) apply the {{lang}} tag like this:
      This page is being depreciated
      • (The language code for French is "fr".)
      This page is being depreciated
      • (The language code for Japanese is "ja".)
    • For transliterations, see the instructions at {{transliteration}}; generally it works something like this:
      This page is being depreciated
      • The language code for Russian is "ru" and russkij is a transliteration of русский.
    • These tags automatically apply italics, so you can usually remove any existing markup that's trying to do that.
  3. Remove the {{which lang}} tag.

Thanks for your help!

Usage

{{Which lang|date=December 2025}}
{{Which lang|date=December 2025|reason=Your explanation here}}

Place the tag, with any optional parameters, immediately after the word or phrase in question. This template should not be substituted ({{subst:}}). For example:

...known as haats,{{which lang|reason=Indian sub-continent dialect?|date=December 2025}} are fairly common throughout the region

looks like this:

...known as haats,[what language is this?] are fairly common throughout the region

Parameters

All parameters are optional, and date will be added by a bot if missing.

date=MONTH YEAR
reason=toolip text

Categorization

Adding this template will put articles under Category:Articles with unidentified words.

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Which lang in articles based on its TemplateData.

TemplateData for Which lang

This template is used to tag non-English text whose language isn't evident.

Template parameters

ParameterDescriptionTypeStatus
Month and yeardate

Provides the month and year of the clarification request, e.g. 'January 2013', but not 'jan13'

Auto value
{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}
Stringsuggested
Explanationreason

If needed, used to explain why the language of the text is unclear, or offer your best guess at what language it is.

Stringoptional