Files
editor/src/locales
Hanjin Lee c3a35354f7 Added Korean language support (#1596)
Added Korean language support.

<img width="860" height="274" alt="image"
src="https://github.com/user-attachments/assets/e726d910-81cb-4cc7-8062-18f04592332f"
/>

To ensure accurate meaning, some terms were written following the
criteria below.

- Map → '맵' : 'Map' is rendered as '맵', which is more commonly used than
'지도' in GIS tools.
- Stops → '기준점' : Transliterating the term as '스톱' does not clearly
convey its meaning. Since it represents a reference point used for
interpolation, it is translated as '기준점'.
- Light → '라이트' : Literal translations such as '광원', '빛' or '조명' awkward
in a 3D rendering context, so the term is transliterated.
- Focus → '포커스' : The literal translation '초점' sounds awkward in a UI
context, so it has been transliterated for clarity.
- Terrain → '터레인' : In the context of 3D maps, '터레인' is a more commonly
used term than '지형'.
- Paint → '페인트' : The term is transliterated to preserve its meaning as
defined in the Style Specification.

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Harel M <harel.mazor@gmail.com>
2025-12-17 08:27:22 +00:00
..
2025-10-05 16:38:03 +03:00
2025-10-05 16:38:03 +03:00
2025-10-05 16:38:03 +03:00
2025-10-05 16:38:03 +03:00
2025-10-05 16:38:03 +03:00
2025-12-17 08:27:22 +00:00
2025-10-05 16:38:03 +03:00

Internationalization

The process of internationalization is pretty straight forward for Maputnik.

Add a new language

1. Edit configuration

In order to add a new translation you'll need to add it to the configuration files. Please put it in alphabetical order.

2. Add the localized strings

Refresh the localization to generate a new directory under /src/locales/ for your new language.

npm install
npm run i18n:refresh

Replace every __STRING_NOT_TRANSLATED__ value in the newly generated translation.json file with the according translation. Make sure all the keys are translated.

3. Test your new locale

Finally, test your language locally by starting a local instance of Maputnik.

npm run start

Consider adding your name as a helping person for the translation of new features.

Add localization for a new feature

If you happen to add a feature which needs some text to be translated, update the translation files. After running, check your working copy for files and add/correct as needed.

npm run i18n:refresh

The following users can help you with the relevant languages:

ISO Code Language User
de German @josxha
en English @HarelM
fr French @lhapaipai
he Hebrew @HarelM
it Italian @napo
ja Japanese @keichan34
ko Korean @jinifor
zh Simplified Chinese @jieme

You can test the UI in different languages using the dropdown in the top menu Note that Maputnik automatically localize based on browser language settings and stores this language in local storage. You can use incognito mode to check a first time usage.