veloren/assets/voxygen/i18n
juliancoffee 8c837da561 Add i18n keys to abilities
* New hud/ability.ron file for ability localizations
* i18n keys are created by adding .name and .desc to ability id. Because
  of how i18n worked (returning key if string wasn't found), it was
  impossible to do because it leads to UB in case string is missed.
  To solve this we've added get_opt method that returns None
* New Localization::get_or method for convinient fallback key usage
2022-06-25 18:17:37 +03:00
..
ar_SA kick start Arabic language (i18n) 2022-02-13 23:44:52 +00:00
be_BY Minor orthography fixes 2022-05-04 16:54:21 +03:00
ca_CA Catalan language improvements 2022-05-01 23:14:25 +00:00
cz_CZ Update swedish translations and fix typo 2022-01-01 00:40:50 +01:00
de_DE Implement group owned loot 2022-06-04 17:16:12 +00:00
en Add i18n keys to abilities 2022-06-25 18:17:37 +03:00
es_ES apply changes from MR!2904 2022-02-20 10:18:24 +01:00
es_LA apply changes from MR!2904 2022-02-20 10:18:24 +01:00
eu Add initial Basque language translation 2022-02-13 22:00:53 +01:00
fr_FR FR Translation up to date 2022-04-26 17:29:09 +00:00
hu_HU Update swedish translations and fix typo 2022-01-01 00:40:50 +01:00
it_IT fixed some italian translation errors 2022-05-10 21:10:20 +02:00
ja_JP Update swedish translations and fix typo 2022-01-01 00:40:50 +01:00
nl_NL Edited all languages to fit new change 2021-10-26 01:27:03 +02:00
no_NB Edited all languages to fit new change 2021-10-26 01:27:03 +02:00
pl_PL fix missing comma at line ends 2022-05-24 23:31:20 +02:00
pt_BR Update common.ron pt_BR. Added some variables and edited a few. 2022-05-21 00:11:04 +00:00
pt_PT Merge branch 'transp---opacity-in-UI' into 'master' 2021-08-02 21:30:37 +00:00
ru_RU Update ru_RU 2022-05-31 18:21:34 +00:00
sr_SR Update swedish translations and fix typo 2022-01-01 00:40:50 +01:00
sv_SE Update swedish translations 2022-02-13 20:39:54 +00:00
th_TH Add Thai translation 2022-05-22 10:06:36 +00:00
tr_TR Update swedish translations and fix typo 2022-01-01 00:40:50 +01:00
uk_UA Update swedish translations and fix typo 2022-01-01 00:40:50 +01:00
vi_VI Update swedish translations and fix typo 2022-01-01 00:40:50 +01:00
zh_CN Update swedish translations and fix typo 2022-01-01 00:40:50 +01:00
zh_TW Add zh_TW gameinput.greet translate. 2021-12-16 17:47:12 +08:00
README.md Update i18n's README.md to correct grammar and formatting 2020-12-31 12:32:22 +01:00

Translation document instructions

In order to keep localization documents readible please follow the following rules:

  • Separate the string map sections using a commentary describing the purpose of the next section
  • Prepend multi-line strings with a commentary
  • Append one blank line after multi-line strings and two blank lines after sections

Adding a new language in Veloren

To add a new language in Veloren, please follow these steps:

  • Create a new folder into the assets/voxygen/i18n directory
  • Copy the content of the en directory in your new folder
  • Configure the language metadata in the _manifest.ron file
  • From this point, you can start translating the files!