Category:Template with translation strings

From OpenStreetMap Wiki
Jump to: navigation, search
| cs                     = Ahoj!
| fr                     = Bonjour !
| it                     = Ciao!
| sv                     = Hallå!
| lb                     = Hallo!
| de | id                = Halo!
| fi                     = Hei!
| da                     = Hej!
| en | #default          = Hello!
| es | an | ca           = Hola!
| tr                     = Merhaba!
| gl                     = Ola!
| pt | pt-br             = Olá!
| az                     = Salam!
| el                     = Γειά σου!
| ru                     = Привет!
| hi                     = नमस्ते!
| bn                     = হ্যালো!
| am                     = ሰላም!
| ja                     = もしもし!
| zh | zh-hans | zh-hant = 你好!
| he                     = שלום!
| fa                     = درود!
| ar | arz               = مرحبا!
| ur                     = ہیلو!

This category lists templates that contain strings/phrases that can be translated.

It should only be added on templates that contain translation strings inside their own code, and not on templates that delegate this task to other templates.

Note that:

  • A list of translations strings usually looks similar to the sample code on the right, where the two (or more) characters on the left side of the equal side are the language code(s) indicating the language(s) of the right side message. Several languages will frequently share the same translation (or may fallback to the same translation borrowed from another language); usually English (indicated by the language code |en=) is also used as the |#default= translation returned when no language code matches. The language code is the same as the prefix of a page on that language (except that its lettercase is not significant and language codes used in selectors are lowercase only).
  • Templates using only {{#switch: language-code|...}} must have a |#default= translation and allow multiple language codes to be mapped to the same returned value, but don't support language fallbacks. This method is recommmanded for generating translated category names where language fallbacks are undesirable.
  • Templates based on {{LangSwitch|lang = language-code |...}} support language fallbacks, but must have a |en= or |default= parameter (which may be distinguished from the |en= value for English), but don't allow multiple parameters to be directly mapped to the same returned value without copying these values (the |default= parameter may be used as a last-chance fallback along with {{TranslateThis}}, while the value returned for specific language codes such as |en= will not use it). This method is recommanded except for translated category names.


This category has the following 2 subcategories, out of 2 total.

Pages in category "Template with translation strings"

The following 62 pages are in this category, out of 62 total.