Changes between Version 6 and Version 7 of Translations/Wiki


Ignore:
Timestamp:
2018-05-28T10:30:39+02:00 (8 years ago)
Author:
Hb---
Comment:

help.png is now help.svg, wikitr realm, finally delete the part moved to Translations/Statistics

Legend:

Unmodified
Added
Removed
Modified
  • Translations/Wiki

    v6 v7  
    11[[TranslatedPages]]
    2 = Wiki translation =
     2= Wiki Translation =
    33
    4 The system for providing JOSM users [wiki:/Help] is based on this Wiki.
    5 It deals with the exact dialog or context the user currently faces.
    6 It 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`.
     4The system for providing JOSM users [wikitr:/Help] is based on this Wiki.
     5It deals with the exact context under the mouse pointer.
     6It can offer the appropriate [wikitr:/DevelopersGuide/HelpSystem/HelpTopicsList topic] when the user clicks [[Image(source:trunk/images/help.svg,link=wikitr:Help,24,valign=middle)]] or strokes `F1`.
    77Our common goal is to help the user in his own language.
    88
    9 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].
     9The 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 TracLanguages.
    1010
    11 Each 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. [[BR(The dot between the brackets [·[ is needed to hinder the TranslatedPages Macro from reading the Macro like string here)]]
     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 page name. [[BR(The macro needs to be written false to avoid it from runing here)]]
    1212
    13 Each translated page has the same macro, but containing the revision of the base page like in following picture:
     13This macro is also used on each translated page.
     14Additionally it contains the revision of the base page as parameter.
     15See the following example:
    1416
    1517[[Image(revision.png)]]
     
    2426Some notes:
    2527* All links to wiki pages should use the `wikitr:` as realm. This realm delivers an URL to a translated page if available. If the target is not yet translated, then a URL to the English base page is delivered, combined with a marker. \\
    26  `[wikitr:/Styles Translated Style Titel]` will always lead the reader to a valid page.
    27 * Images from the English base page can easily be on translated pages. To address them, use the pagename as realm and place a colon in front of the filename: `[[Image(Styles:Mappaint_deprecated.png)]]` [[Image(Styles:Mappaint_deprecated.png)]]
     28 `[wikitr:/Translations/Wiki Translated Wiki Translation]` will always lead the reader to a valid page.
     29* Images from the English base page can easily be on translated pages. To address them, use the page name as realm and place a colon in front of the filename: `[[Image(Translations/Wiki:diff.png)]]`
    2830 * It is nice if screenshots are offered in the native language although the English version is also accepted and less work.
    29 * Pages should be consistent, so when adding new stuff, update the English base page also (except for language specific things)
     31* Pages should be consistent, so when adding new stuff on a translated page, please update the English base page also (except for language specific things).
    3032
    3133See the [WikiMacros#TranslatedPages-macro macro description] for more information about this macro.
    3234
    33 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.
     35Pages can be marked as incomplete or old with adding the `outdated` parameter to the translation macro.
     36A message describing the incompleteness and what to do is the value of this parameter.
     37The parameter name must be separated with a comma from other parameters.
     38The parameter value is separated with an equal sign from the name.
     39Commas inside the value must be escaped with a backslash.
    3440
    3541Example:
     
    3844Outdated 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).
    3945
    40 The [wiki:OutdatedPages list of outdated pages] shows all outdated pages and the related comments.
    41 
    42 The following are automatically generated statistics showing errors in the `[·[TranslatedPages]]` macro or outdated and missing pages.[[BR(The dot between the brackets [·[ is needed to hinder the TranslatedPages Macro from reading the Macro like string here)]]
     46The [wikitr:/OutdatedPages list of outdated pages] shows all outdated pages and the related comments.
     47Its translated variants shows this information only for the target language and for the English base pages.
    4348
    4449=== Language codes ===
     
    5055* Above language code followed by an at sign and lower case dialect, i.e. `ca@valencia`.
    5156
    52 
    5357The codes are slightly modified in different places:
    5458* For use in Java manifest and XML file keys the "@" sign is replaced by a "-" i.e. `ca-valencia`.
    5559* For use in Wiki page titles, the first letter (also after signs) is upper case, i.e. `Pt_BR` or `Ca-Valencia`.
    5660
    57 The translation state of the whole wiki can be seen on the [wiki:/Translations/Statistics Statistics] page.
    58 {{{
    59 #!comment
    60 The following statistics were moved to the link seen above this comment.
    61 Language specific
    62 
    63 === Status table ===
    64 
    65  * Red: There is an error with this page (see error list below)
    66  * Yellow: Page needs update
    67  * Green: Everything up-to-date
    68  * Grey: Page is missing
    69 
    70 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.
    71 
    72 [[TranslatedPages(showstatus,skipmissing)]]
    73 
    74 [[TranslatedPages(showproblems,silent)]]
    75 }}}
     61The translation state of the whole wiki can be seen on the [wikitr:/Translations/Statistics Statistics] page.