Difference between revisions of "Template:ProjectNameDocumentation"

From translatewiki.net
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>This is the localized project name for [{{{url}}} {{{name}}}]. These names are not embedded in a sentence. For example, they can be used as a standalone heading. Translate all parts, including proper names (e.g. country names). The (hopefully) translated language name from [[CLDR]], which you can use if the project name contains a language name, is "{{#languagename:{{{language}}}}}".</includeonly><noinclude>This is the template for the qqq.json descriptions of the auto-generated project names, that are to be translated locally.
+
<includeonly>This is the localized project name for [{{{url}}} {{{name}}}]. These names are not embedded in a sentence. For example, they can be used as a standalone heading. Translate all parts, including proper names (e.g. country names).{{#ifeq:{{{language}}}|zxx||&nbsp;The (hopefully) translated language name from [[CLDR]], which you can use if the project name contains a language name, is "{{#languagename:{{{language}}}}}".}}</includeonly><noinclude>This is the template for the qqq.json descriptions of the auto-generated project names, that are to be translated locally.
   
 
The parameters are:
 
The parameters are:
* <code>url</code> (e.g. https://de.wikipedia.org)
+
* <code>url</code> e.g. https://de.wikipedia.org
* <code>name</code> (in English, e.g. "German Wikipedia")
+
* <code>name</code> in English, e.g. "German Wikipedia"
* <code>language</code> (language code, often the same as in the domain, but not necessarily)</noinclude>
+
* <code>language</code> language code, often the same as in the domain, but not necessarily. If the language name is not important to the project name, use <code>zxx</code>.</noinclude>

Latest revision as of 07:23, 29 March 2016

This is the template for the qqq.json descriptions of the auto-generated project names, that are to be translated locally.

The parameters are:

  • url e.g. https://de.wikipedia.org
  • name in English, e.g. "German Wikipedia"
  • language language code, often the same as in the domain, but not necessarily. If the language name is not important to the project name, use zxx.