wiki:Translations

Version 57 (modified by stoecker, 6 years ago) ( diff )

Typo

Translations

JOSM translation is a whole divided into three parts, one of which is seen on every startup, another by the Software, and a third by Wiki or online help users. All these use different methods for translation.

StartupPage

The translation of JOSM start messages can be changed at StartupPageSource.

This page has a special format:

  • Each line "en:" starts a new translatable line.
  • Each line with another language abbreviation translates the previous English line.
  • Each line without specifics is taken as is.
  • Lines starting with "#" are ignored.

NOTE: There aren't always empty lines between the different sets. Be careful not to mix translations or forget some! Please sort the entries in each set by the lowercase language abbreviation, but keep "en:" first.

When changing English text please keep in mind that translations also need to be adapted. If you are not able to do so, then add an "x" in front of the language abbreviation, so the translation is still available as a draft, but disabled.

The previewed or saved page shows multiple sections sorted by language. Lines marked with EN show untranslated lines. Lines marked with X have been marked as draft line. Lines marked with BASE are missing in a nationalized translation and have been overridden with the language based translation (i.e. "ca" used instead of missing "ca@valencia").

The table below shows translation status of the Startup Page:

  • Background: Yellow = Translations need update and Green = Everything up-to-date
  • Numbers: First = untranslated lines, '+' separator and Second = draft lines.

arastbebgcaca@valenciacsdadeelenen_AUen_GBeseteufafifrhrhuisitjakoltmsnbnlplptpt_BRrusksr@latinsvukvizh_CNzh_TW
0 + 06 + 06 + 113 + 12 + 126 + 06 + 03 + 00 + 06 + 00 + 026 + 026 + 0-1 + 16 + 016 + 226 + 07 + 00 + 015 + 3-1 + 115 + 30 + 0-1 + 10 + 05 + 06 + 66 + 00 + 05 + 10 + 00 + 02 + 10 + 05 + 014 + 20 + 025 + 00 + 00 + 0

Version history

The translation of older JOSM start messages can be changed at VersionHistorySource for the current year. For each former year a separate page exists (e.g. VersionHistorySource/2016) back to 2008.

The line format is the same as above.

The translation status of the VersionHistory is at the bottom of the English version of this page.

Software

Translation of the program texts including plugins is done at Launchpad. A few plugins are translated at transifex instead (as of January 2018 Mapillary, geojson and scripting).

The templates at Launchpad are updated each night together with the new latest build. Translations are imported before each new release (or more often when needed).

The Java translation has some specialities which must be remembered when translating:

  • The ' sign is a special character. It must be escaped by another ', so '' means a single quote in resulting display.
  • For languages with heavy usage of this character the typographic ’ may be used instead of the escaping (looks better when translating, in the final software a user will hardly see the difference).
    • This character is U+2019 named RIGHT SINGLE QUOTATION MARK
    • Under Linux this character is available with <ALT-GR>+<SHIFT>+<N>
    • Under Windows the character is available by pressing <ALT> and typing 0146 on keypad
  • Don't use the message formating brackets {}, or when, then escape each with single quotes like '{' or '}'.

All strings have a reference to the place in source code where they appear. That can help to find proper translation. You find the sources here:

Changes made in Launchpad will be imported into JOSM for all languages which are already in JOSM. Usually the JOSM team updates the text data once or twice just before the release of a new tested version (which is usually at the end of every month, see roadmap).

New languages will be added to JOSM when there are at least 2000 translated strings. Please start with main user interface to reach best results.

A short description how to add new language support for test purposes, when 2000 strings limit is not yet reached:

  • Create the language files and store them in the plugin file (or JOSM core):
    • Language files are stored in directory "data" of JOSM and named with the lowercase language code with extension .lang.
    • These files are always a set. The English base file and the translation files must be created together or they will not work correctly.
    • The Perl script [osm:source:applications/editors/josm/i18n/i18n.pl i18n.pl] must be called with a destination directory and the .po files to create translation data.
  • Add the new language in init() function of I18n.java:
    • A proper code for the plural mode of the language needs to specified.
    • A description of the plural calculations can be found in the .po file downloaded from Launchpad.
    • If none of the existing modes matches the language, add new one needs to be added in the PluralMode enumeration and in pluralEval() function.
    • For some special languages it is necessary to add workaround code in LanguageInfo.java to translate between Java language code and the newer codes used on Launchpad

Current JOSM translation status active in the software (only JOSM core and server, no plugins) is shown in following table.

JOSM core JOSM server data
languagenormal stringsplural numberplural stringscomplete plural setstotal
en English 10495 2344 (344)172100.01000
de Deutsch 10495 2344 (344)172100.01000
en_GB British 10495 2344 (344)165100.01000
es español 10495 2344 (344)172100.01000
nl Nederlands 10495 2344 (344)172100.01000
uk українська 10495 3516 (516)172100.01000
be беларуская 10492 3516 (516)17299.91000
ru русский 10492 3516 (516)17299.91000
pt português 10454 2344 (344)17299.61000
ar العربية 10172 61026 (1032)17197.1973
pt_BR português brasileiro 10073 2344 (344)17296.1964
fr français 10017 2342 (344)17095.6964
cs čeština 9932 3516 (516)17294.9955
bg български 9238 2339 (344)16988.48812
hu magyar 9231 2328 (344)16488.28812
sk slovenčina 9145 3516 (516)17287.78812
zh_CN 简体中文 8864 1172 (172)17284.78515
it italiano 8682 2340 (344)17083.28317
da dansk 8652 2344 (344)17283.08317
zh_TW 正體中文 8631 1164 (172)16482.58218
pl polski 8591 3482 (516)15882.48218
en_AU Australian 8376 2328 (344)15780.38020
nb norsk bokmål 8138 2339 (344)16978.27822
ja 日本語 8004 1167 (172)16776.67723
id Bahasa Indonesia 7284 1147 (172)14769.77030
ko 한국어 7151 1153 (172)15368.56832
sv svenska 6611 2324 (344)16264.06436
ca català 6268 2300 (344)15060.66139
gl galego 6307 2254 (344)12760.56139
lt lietuvių 5723 3453 (516)15156.15644
ast asturianu 5485 2278 (344)13953.25347
fi suomi 5323 2266 (344)13351.65248
el Ελληνικά 5049 2300 (344)15049.34951
ca@valencia valencià 4764 2282 (344)14146.64753
fa فارسی 4260 2117 (344)4540.44060
sr@latin srpski 3948 3357 (516)11939.13961
km ភាសាខ្មែរ 3455 1132 (172)13233.63466
mr मराठी 3270 2144 (344)7231.53169
et eesti 2648 2142 (344)7125.72674
is Íslenska 2443 296 (344)4823.42377
languagenormal stringsplural numberplural stringscomplete plural setstotal
en English 118 20 (0)0100.01000
be беларуская 118 00 (0)0100.01000
de Deutsch 118 00 (0)0100.01000
en_GB British 118 00 (0)0100.01000
es español 118 00 (0)0100.01000
nl Nederlands 118 00 (0)0100.01000
pt português 118 00 (0)0100.01000
ru русский 118 00 (0)0100.01000
uk українська 118 00 (0)0100.01000
ar العربية 114 00 (0)096.6973
fr français 114 00 (0)096.6973
pt_BR português brasileiro 113 00 (0)095.8964
da dansk 112 00 (0)094.9955
pl polski 112 00 (0)094.9955
sk slovenčina 109 00 (0)092.4928
bg български 108 00 (0)091.5928
cs čeština 108 00 (0)091.5928
en_AU Australian 105 00 (0)089.08911
hu magyar 103 00 (0)087.38713
id Bahasa Indonesia 100 00 (0)084.78515
it italiano 98 00 (0)083.18317
zh_CN 简体中文 97 00 (0)082.28218
ja 日本語 82 00 (0)069.56931
ca català 80 00 (0)067.86832
ast asturianu 69 00 (0)058.55842
zh_TW 正體中文 69 00 (0)058.55842
ca@valencia valencià 67 00 (0)056.85743
nb norsk bokmål 61 00 (0)051.75248
km ភាសាខ្មែរ 53 00 (0)044.94555
sr@latin srpski 41 00 (0)034.73565
gl galego 37 00 (0)031.43169
ko 한국어 34 00 (0)028.82971
fi suomi 31 00 (0)026.32674
sv svenska 29 00 (0)024.62575
lt lietuvių 24 00 (0)020.32080
et eesti 16 00 (0)013.61486
el Ελληνικά 9 00 (0)07.6892
fa فارسی 8 00 (0)06.8793
is Íslenska 2 00 (0)01.7298
mr मराठी 1 00 (0)00.8199

Online help and Wiki pages

The JOSM online help is based on this websites Wiki. See Translations/Wiki for detailed information.

A list of all currently known online help pages can be found at Help Topics List. This list is automatically created, but may be incomplete nevertheless.

Language specific notes

Here is a list of the rules and recommendations how the terms and texts of JOSM and OpenStreetMap should be translated.

Version history translation status

The translation status of the Version history is shown in the following tables. Please see Version history for details.

VersionHistorySource

arastbebgcacsdadeelenesetfifrhuitjakoltmsnbnlplptpt_BRrusksr@latinsvukzh_CNzh_TW
6 + 09 + 09 + 018 + 07 + 08 + 07 + 00 + 09 + 00 + 00 + 09 + 08 + 00 + 03 + 00 + 04 + 01 + 07 + 09 + 109 + 00 + 08 + 00 + 00 + 04 + 00 + 08 + 018 + 02 + 00 + 00 + 0

VersionHistorySource/2022

arastbecacsdadeelenesetfifrhuitjakoltmsnbnlplpt_BRrusksr@latinukzh_CNzh_TW
2 + 02 + 02 + 02 + 02 + 02 + 00 + 02 + 00 + 00 + 02 + 02 + 00 + 00 + 00 + 00 + 00 + 00 + 02 + 92 + 00 + 02 + 02 + 00 + 00 + 00 + 00 + 00 + 00 + 0

VersionHistorySource/2021

arastbecacsdadeelenesetfifrhuitjakoltmsnbnlplpt_BRrusksr@latinukzh_CNzh_TW
22 + 016 + 016 + 013 + 016 + 016 + 00 + 016 + 00 + 00 + 010 + 016 + 00 + 02 + 00 + 014 + 00 + 00 + 016 + 816 + 00 + 00 + 016 + 00 + 00 + 03 + 00 + 00 + 00 + 0

VersionHistorySource/2020

astbecacsdadeelenesetfifrhuitjakoltmsnbnlplpt_BRrusksr@latinukzh_CNzh_TW
17 + 026 + 026 + 015 + 026 + 00 + 026 + 00 + 00 + 026 + 026 + 00 + 00 + 05 + 03 + 00 + 00 + 024 + 719 + 00 + 02 + 026 + 00 + 00 + 00 + 00 + 00 + 00 + 0

VersionHistorySource/2019

astbecacsdadeelenesetfifrhuitjakoltnbnlplptpt_BRrusksr@latinukzh_CNzh_TW
4 + 013 + 015 + 00 + 013 + 00 + 013 + 00 + 00 + 013 + 013 + 00 + 00 + 010 + 010 + 00 + 00 + 010 + 00 + 012 + 022 + 011 + 00 + 00 + 00 + 00 + 00 + 00 + 0

VersionHistorySource/2018

astcsdadeelenesetfifrhuitjakoltnbnlplpt_BRruskukzh_CNzh_TW
13 + 00 + 023 + 00 + 023 + 00 + 00 + 023 + 016 + 00 + 00 + 010 + 00 + 00 + 00 + 031 + 00 + 06 + 023 + 00 + 00 + 00 + 00 + 00 + 0

VersionHistorySource/2017

astcsdadeelenesetfrhuitjakoltnlplpt_BRruskukzh_CNzh_TW
2 + 00 + 024 + 00 + 029 + 00 + 00 + 029 + 08 + 00 + 07 + 027 + 038 + 00 + 00 + 00 + 029 + 00 + 00 + 02 + 00 + 00 + 0

VersionHistorySource/2016

astcsdeelenesetfrhuitjaltnlplpt_BRruskukzh_CNzh_TW
8 + 00 + 00 + 016 + 00 + 00 + 09 + 05 + 00 + 00 + 016 + 00 + 00 + 03 + 019 + 00 + 00 + 00 + 00 + 00 + 0

VersionHistorySource/2015

astbebgcsdadeelenesetfrhuitjaltnlplptpt_BRruskukzh_CNzh_TW
0 + 014 + 016 + 00 + 020 + 00 + 015 + 00 + 00 + 016 + 00 + 00 + 00 + 01 + 00 + 00 + 00 + 016 + 012 + 00 + 00 + 00 + 00 + 00 + 0

VersionHistorySource/2014

astbebgcacsdadeelenesetfrhuitjaltnlplptpt_BRruskukzh_CNzh_TW
19 + 026 + 019 + 019 + 00 + 00 + 00 + 022 + 00 + 00 + 00 + 00 + 00 + 00 + 07 + 022 + 00 + 00 + 022 + 00 + 07 + 00 + 00 + 00 + 00 + 0

VersionHistorySource/2013

bgcacsdadeenesetfrhuitjanlplruskukzh_CNzh_TW
37 + 026 + 00 + 00 + 00 + 00 + 00 + 012 + 00 + 00 + 00 + 00 + 00 + 016 + 30 + 122 + 00 + 037 + 036 + 0

VersionHistorySource/2012

bgcsdadeelenesetfifrhuitjanlplptrusksvukzh_TW
35 + 00 + 00 + 00 + 030 + 00 + 00 + 010 + 027 + 00 + 01 + 00 + 00 + 00 + 010 + 07 + 00 + 015 + 032 + 00 + 010 + 0

VersionHistorySource/2011

arbgcsdadeelenesetfifritjanlplptrusksvukzh_CNzh_TW
38 + 030 + 10 + 00 + 00 + 023 + 00 + 00 + 025 + 132 + 00 + 011 + 00 + 00 + 018 + 038 + 00 + 030 + 038 + 00 + 014 + 027 + 0

VersionHistorySource/2010

bgcsdadeenesetfifritjanlplptrusvukzh_CNzh_TW
13 + 00 + 018 + 00 + 00 + 00 + 05 + 00 + 00 + 00 + 015 + 00 + 011 + 01 + 00 + 019 + 00 + 07 + 010 + 0

VersionHistorySource/2009

bgcsdeenesetfifrhrisitjanlplptrusv
25 + 00 + 00 + 00 + 00 + 020 + 01 + 00 + 024 + 024 + 03 + 018 + 00 + 024 + 024 + 00 + 09 + 0

VersionHistorySource/2008

csdeenesfritjanlplrusv
0 + 00 + 00 + 00 + 00 + 011 + 09 + 00 + 011 + 00 + 010 + 0

Attachments (2)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.