Difference between revisions of "Template:ProjectNameDocumentation"

From translatewiki.net
Jump to navigation Jump to search
(rv)
(make it possible to provide a different language code)
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.</noinclude>
+
<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:{{{correctlanguage|{{{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:
  +
* <code>url</code> (e.g. https://de.wikipedia.org)
  +
* <code>name</code> (in Ehglish, e.g. "German Wikipedia")
  +
* <code>language</code> (language code, often the same as in the domain, but not necessarily)
  +
* <code>correctlanguage</code> (language code, if it's different from the code in the domain)</noinclude>

Revision as of 10:09, 20 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 Ehglish, e.g. "German Wikipedia")
  • language (language code, often the same as in the domain, but not necessarily)
  • correctlanguage (language code, if it's different from the code in the domain)