Changes between Version 3 and Version 4 of Translations/Wiki


Ignore:
Timestamp:
2018-02-11T22:07:18+01:00 (6 years ago)
Author:
Hb---
Comment:

Big statistics table moved to Translations/Statistics

Legend:

Unmodified
Added
Removed
Modified
  • Translations/Wiki

    v3 v4  
    11[[TranslatedPages]]
    2 = Page translation =
     2= Wiki translation =
     3
     4The system for providing JOSM users [wiki:/Help] is based on this Wiki.
     5It deals with the exact dialog or context the user currently faces.
     6It can offer the appropriate [wiki:DevelopersGuide/HelpSystem/HelpTopicsList topic] when the user clicks [[Image(source:trunk/images/help.png,link=wiki:Help,24,valign=middle)]] or strokes `F1`.
     7Our common goal is to help the user in his own language.
    38
    49The JOSM pages follow the simple method to add the language code in front of page name. You can find (and add) the language codes at the page [wiki:TracLanguages].
    510
    6 Each English base page contains the macro {{{[[}}}{{{TranslatedPages]]}}} at the top of the page. This macro creates a small menu containing all available languages.
     11Each English base page has the macro `[[TranslatedPages]]` at its top. This macro creates a small menu containing links to all translated pages with the same wikiname.
    712
    813Each translated page has the same macro, but containing the revision of the base page like in following picture:
     
    2833
    2934Example:
    30 {{{[[}}}{{{TranslatedPages(revision=12,outdated=Translation is incomplete\, last part missing.]]}}}
     35`[[TranslatedPages(revision=12,outdated=Translation is incomplete\, last part missing.]]`
    3136
    3237Outdated messages from the English base page can be copied in translation, but probably it is better to have them at base page only. This allows to separate translation related issues (translated pages) from content related issues (base page).
     
    3439The [wiki:OutdatedPages list of outdated pages] shows all outdated pages and the related comments.
    3540
    36 The following are automatically generated statistics showing errors in the {{{[[}}}{{{TranslatedPages]]}}} macro or outdated and missing pages.
     41The following are automatically generated statistics showing errors in the `[[TranslatedPages]]` macro or outdated and missing pages.
    3742
    3843=== Language codes ===
    3944
    4045Language codes in JOSM follow the method used by launchpad and many other open source translations. These are:
    41 * Two letter codes from ISO 639-1 in lower case (i.e. **de**)
    42 * Three letter codes from ISO 639-2 in lower case when there is no two letter code (i.e. **ast**)
    43 * Above language code followed by an underscore and upper case country code according to ISO 3166-1 (i.e. **pt_BR**)
    44 * Above language code followed by an at sign and lower case dialect (i.e. **ca@valencia**)
    45 * List of ISO-codes: https://www.loc.gov/standards/iso639-2/php/English_list.php
     46* Two letter codes from [https://www.loc.gov/standards/iso639-2/php/English_list.php ISO 639-1] in lower case, i.e. `de`.
     47* Three letter codes from [https://www.loc.gov/standards/iso639-2/php/English_list.php ISO 639-2] in lower case when there is no two letter code, i.e. `ast`.
     48* Above language code followed by an underscore and upper case country code according to ISO 3166-1, i.e. `pt_BR`.
     49* Above language code followed by an at sign and lower case dialect, i.e. `ca@valencia`.
     50
    4651
    4752The codes are slightly modified in different places:
    48 * For use in Java manifest and XML file keys the "@" sign is replaced by a "-" (i.e. **ca-valencia**).
    49 * For use in Wiki page titles, the first letter (also after signs) is upper case (i.e. **Pt_BR** or **Ca-Valencia**)
     53* For use in Java manifest and XML file keys the "@" sign is replaced by a "-" i.e. `ca-valencia`.
     54* For use in Wiki page titles, the first letter (also after signs) is upper case, i.e. `Pt_BR` or `Ca-Valencia`.
     55
     56The translation state of the whole wiki can be seen on the [wiki:/Translations/Statistics Statistics] page.
     57{{{
     58#!comment
     59The following statistics were moved to the link seen above this comment.
     60Language specific
    5061
    5162=== Status table ===
     
    5667 * Grey: Page is missing
    5768
    58 {{{
    59 #!comment
    6069When translating this page, don't copy the macro as is, but use  [[TranslatedPages(showstatus,lang=De)]] (for German), so only the relevant information for your language is printed.
    61 }}}
     70
    6271[[TranslatedPages(showstatus,skipmissing)]]
    6372
    6473[[TranslatedPages(showproblems,silent)]]
     74}}}