wiki:Translations

Version 56 (modified by stoecker, 9 years ago) ( diff )

Fix wording

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@valenciacscydadeelenen_AUen_GBeoeseteufafifofrhrhuidisitjakolaltlvmsnbnlnnplptpt_BRrusksr@latinsvukvizh_CNzh_TW
101181562901080802929861120 + 12478019 + 22088989 + 2112811 + 5828962208862822

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 11303 2344 (344)172100.01000
de Deutsch 11303 2344 (344)172100.01000
es español 11270 2344 (344)17299.71000
pt_BR português brasileiro 11270 2344 (344)17299.71000
nl Nederlands 11228 2344 (344)17299.4991
en_GB British 11223 2344 (344)17299.3991
uk українська 11135 3516 (516)17298.6991
en_AU Australian 11137 2344 (344)17298.6991
ru русский 11090 3516 (516)17298.2982
zh_CN 简体中文 11064 1172 (172)17297.9982
it italiano 11050 2344 (344)17297.8982
en_CA Canadian 11000 2344 (344)17297.4973
el Ελληνικά 10957 2344 (344)17297.0973
pt português 10936 2344 (344)17296.8973
be беларуская 10890 3516 (516)17296.5973
sv svenska 10894 2344 (344)17296.5964
fr français 10893 2344 (344)17296.5964
da dansk 10889 2344 (344)17296.4964
eo Esperanto 10889 2344 (344)17296.4964
fo føroyskt 10889 2344 (344)17296.4964
nb norsk bokmål 10889 2344 (344)17296.4964
nn norsk nynorsk 10889 2344 (344)17296.4964
lo ພາສາລາວ 10889 1172 (172)17296.4964
ar العربية 10851 61032 (1032)17296.3964
id Bahasa Indonesia 10806 1172 (172)17295.7964
lv latviešu 10943 3160 (516)5393.9946
ja 日本語 10330 1172 (172)17291.5928
cs čeština 9900 3516 (516)17288.18812
pl polski 9726 3516 (516)17286.78713
sk slovenčina 9710 3516 (516)17286.58713
hu magyar 9688 2344 (344)17286.18614
zh_TW 正體中文 9202 1165 (172)16581.68218
bg български 9062 2339 (344)16980.78119
ko 한국어 7309 1156 (172)15665.16535
fi suomi 7111 2318 (344)15963.86436
ca català 6240 2302 (344)15156.25644
gl galego 6266 2258 (344)12956.05644
tr Türkçe 6147 2312 (344)15555.55545
is Íslenska 5963 2328 (344)16454.05446
lt lietuvių 5650 3450 (516)15051.65248
ast asturianu 5411 2278 (344)13948.84951
ca@valencia valencià 4744 2280 (344)14043.14357
fa فارسی 4287 2140 (344)6038.03862
sr@latin srpski 3932 3363 (516)12136.33664
cy Cymraeg 3620 4104 (688)2631.13169
km ភាសាខ្មែរ 3402 1132 (172)13230.83169
mr मराठी 3225 2144 (344)7228.92971
et eesti 2639 2140 (344)7023.92476
languagenormal stringsplural numberplural stringscomplete plural setstotal
en English 127 20 (0)0100.01000
de Deutsch 127 00 (0)0100.01000
es español 127 00 (0)0100.01000
pt_BR português brasileiro 127 00 (0)0100.01000
nl Nederlands 126 00 (0)099.2991
en_AU Australian 125 00 (0)098.4982
en_GB British 125 00 (0)098.4982
uk українська 125 00 (0)098.4982
ar العربية 124 00 (0)097.6982
be беларуская 124 00 (0)097.6982
da dansk 124 00 (0)097.6982
el Ελληνικά 124 00 (0)097.6982
en_CA Canadian 124 00 (0)097.6982
eo Esperanto 124 00 (0)097.6982
fo føroyskt 124 00 (0)097.6982
fr français 124 00 (0)097.6982
id Bahasa Indonesia 124 00 (0)097.6982
it italiano 124 00 (0)097.6982
lo ພາສາລາວ 124 00 (0)097.6982
lv latviešu 124 00 (0)097.6982
nb norsk bokmål 124 00 (0)097.6982
nn norsk nynorsk 124 00 (0)097.6982
pt português 124 00 (0)097.6982
ru русский 124 00 (0)097.6982
sv svenska 124 00 (0)097.6982
zh_CN 简体中文 124 00 (0)097.6982
sk slovenčina 111 00 (0)087.48713
pl polski 108 00 (0)085.08515
bg български 103 00 (0)081.18119
cs čeština 103 00 (0)081.18119
hu magyar 100 00 (0)078.77921
ja 日本語 81 00 (0)063.86436
ca català 77 00 (0)060.66139
zh_TW 正體中文 70 00 (0)055.15545
ast asturianu 66 00 (0)052.05248
ca@valencia valencià 64 00 (0)050.45050
km ភាសាខ្មែរ 51 00 (0)040.24060
sr@latin srpski 40 00 (0)031.53169
gl galego 35 00 (0)027.62872
ko 한국어 33 00 (0)026.02674
fi suomi 31 00 (0)024.42476
lt lietuvių 23 00 (0)018.11882
cy Cymraeg 16 00 (0)012.61387
tr Türkçe 16 00 (0)012.61387
et eesti 15 00 (0)011.81288
fa فارسی 8 00 (0)06.3694
is Íslenska 2 00 (0)01.6298
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

arastbebgcacscydadeeleneoesetfifofrhuidisitjakolaltlvmsnbnlnnplptpt_BRrusksr@latinsvukzh_CNzh_TW
8811501700000080100210121 + 15818 + 80016000010011

VersionHistorySource/2024

arastbecacsdadeeleneoesetfifrhuitjakoltmsnbnlplptpt_BRrusksr@latinsvukzh_CNzh_TW
16546300000660000066 + 120050010611000

VersionHistorySource/2023

arastbecacsdadeeleneoesetfifrhuitjakoltmsnbnlplptpt_BRrusksr@latinukzh_CNzh_TW
58868500000880304068 + 1000800408200

VersionHistorySource/2022

arastbecacsdadeeleneoesetfifrhuitjakoltmsnbnlplpt_BRrusksr@latinukzh_CNzh_TW
22222200000220000002 + 90022000000

VersionHistorySource/2021

arastbecacsdadeeleneoesetfifrhuitjakoltmsnbnlplpt_BRrusksr@latinukzh_CNzh_TW
221616131616000001016020140016 + 800016003000

VersionHistorySource/2020

astbecacsdadeeleneoesetfifrhuitjakoltmsnbnlplpt_BRrusksr@latinukzh_CNzh_TW
172626152600000262600530024 + 700226000000

VersionHistorySource/2019

astbecacsdadeeleneoesetfifrhuitjakoltnbnlplptpt_BRrusksr@latinukzh_CNzh_TW
413150130000013130010100000122211000000

VersionHistorySource/2018

astcsdadeeleneoesetfifrhuitjakoltnbnlplpt_BRruskukzh_CNzh_TW
1302300000231600100000062300000

VersionHistorySource/2017

astcsdadeeleneoesetfrhuitjakoltnbnlplpt_BRruskukzh_CNzh_TW
20240000029007273800002900200

VersionHistorySource/2016

astcsdeeleneoesetfrhuitjaltnbnlplpt_BRruskukzh_CNzh_TW
800000090001600031900000

VersionHistorySource/2015

astbebgcsdadeeleneoesetfrhuitjaltnbnlplptpt_BRruskukzh_CNzh_TW
01416020000001600010000161200000

VersionHistorySource/2014

astbebgcacsdadeeleneoesetfrhuitjaltnbnlplptpt_BRruskukzh_CNzh_TW
192619190000000000072200022070000

VersionHistorySource/2013

bgcacsdadeeleneoesetfrhuitjanbnlplruskukzh_CNzh_TW
372600000001200000016 + 30 + 12203736

VersionHistorySource/2012

bgcsdadeeleneoesetfifrhuitjanbnlplptpt_BRrusksvukzh_TW
35000000010270100001083701532010

VersionHistorySource/2011

arbgcsdadeeleneoesetfifritjanbnlplptrusksvukzh_CNzh_TW
3830 + 1000000025 + 13201100018380303801427

VersionHistorySource/2010

bgcsdadeeleneoesetfifritjanbnlplptrusvukzh_CNzh_TW
1301800000500015001110190710

VersionHistorySource/2009

bgcsdeeleneoesetfifrhrisitjanbnlplptrusv
250000002010242431800242409

VersionHistorySource/2008

csdeeleneoesfritjanbnlplrusv
00000001190011010

Attachments (2)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.