Changes between Version 49 and Version 50 of Translations


Ignore:
Timestamp:
2015-11-24T00:56:50+01:00 (8 years ago)
Author:
Don-vip
Comment:

split Translations to speed up page loading

Legend:

Unmodified
Added
Removed
Modified
  • Translations

    v49 v50  
    9797== Page translation ==
    9898
    99 The 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].
    100 
    101 Each English base page contains the macro {{{[[}}}{{{TranslatedPages]]}}} at the top of the page. This macro creates a small menu containing all available languages.
    102 
    103 Each translated page has the same macro, but containing the revision of the base page like in following picture:
    104 
    105 [[Image(revision.png)]]
    106 
    107 When the revision of the base page is newer than the translated revision (someone updated English page), then below the language links in menu a new menu point
    108 appears showing the translated revisions and newest one. When clicking on that link, the differences between these revisions are displayed.
    109 These can then be used to update the translation. During updating the revision in the translated page needs to be increased to the newest one and the
    110 additional links disappears.
    111 
    112 [[Image(diff.png)]]
    113 
    114 Some notes:
    115 * It is possible to access image from English base page (or any other page) also in translated page by using the page in the link: {{{[[Image(wiki:Styles:Mappaint_deprecated.png)]]}}} [[Image(wiki:Styles:Mappaint_deprecated.png)]]
    116  * It is nice if screenshots are offered in the native language although the English version is also accepted and less work.
    117 * Links inside the texts should go to translated pages or to English page when not yet translated (marked with (En) or something alike)
    118 * Pages should be consistent, so when adding new stuff, update the English base page also (except for language specific things)
    119 
    120 See the [WikiMacros#TranslatedPages-macro macro description] for more information about this macro.
    121 
    122 Pages can be marked as incomplete or old when the parameter '''outdated''' is added to the translation macro (separated by a comma from other parameters). Behind the parameter a text describing the reason must be appended with an equal sign. Commas must be escaped with a backslash.
    123 
    124 Example:
    125 {{{[[}}}{{{TranslatedPages(revision=12,outdated=Translation is incomplete\, last part missing.]]}}}
    126 
    127 Outdated 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).
    128 
    129 The [wiki:OutdatedPages list of outdated pages] shows all outdated pages and the related comments.
    130 
    131 The following are automatically generated statistics showing errors in the {{{[[}}}{{{TranslatedPages]]}}} macro or outdated and missing pages.
    132 
    133 === Language codes ===
    134 
    135 Language codes in JOSM follow the method used by launchpad and many other open source translations. These are:
    136 * Two letter codes from ISO 639-1 in lower case (i.e. **de**)
    137 * Three letter codes from ISO 639-2 in lower case when there is no two letter code (i.e. **ast**)
    138 * Above language code followed by an underscore and upper case country code according to ISO 3166-1 (i.e. **pt_BR**)
    139 * Above language code followed by an at sign and lower case dialect (i.e. **ca@valencia**)
    140 * List of ISO-codes: https://www.loc.gov/standards/iso639-2/php/English_list.php
    141 
    142 The codes are slightly modified in different places:
    143 * For use in Java manifest and XML file keys the "@" sign is replaced by a "-" (i.e. **ca-valencia**).
    144 * For use in Wiki page titles, the first letter (also after signs) is upper case (i.e. **Pt_BR** or **Ca-Valencia**)
    145 
    146 === Status table ===
    147 
    148  * Red: There is an error with this page (see error list below)
    149  * Yellow: Page needs update
    150  * Green: Everything up-to-date
    151  * Grey: Page is missing
    152 
    153 {{{
    154 #!comment
    155 When 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.
    156 }}}
    157 [[TranslatedPages(showstatus)]]
    158 
    159 [[TranslatedPages(showproblems,silent)]]
     99See [[Translations/Wiki]] for detailed information and statistics about translations of JOSM wiki pages.
    160100
    161101== Language specific translation notes ==