Translations: language codes
authorWuzzy
Sat, 21 Oct 2017 14:22:57 +0100
changeset 1088 c9c103205984
parent 1087 2ada7beb1e71
child 1089 6c59620e947f
Translations: language codes
Translations.wiki
--- a/Translations.wiki	Sat Oct 21 14:17:59 2017 +0100
+++ b/Translations.wiki	Sat Oct 21 14:22:57 2017 +0100
@@ -38,11 +38,14 @@
 For example, in an Arch Linux box the path is `/usr/share/hedgewars/Data/Locale`.
 For Windows 8, the path is `C:\Program Files (x86)\Hedgewars 0.9.19\Data\Locale`.
 
+== Language codes ==
+Languages are identified with the [https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes ISO 639-1 language code] (e.g. “de” for German). For regional language variants, an [https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 ISO 3166-1 alpha-2 country code] can be appended with an underscore (e.g. “pt_BR” for Brazilian Portuguese).
+
 == Translation files ==
 Here is a list of the different localization files of the English language that you should use as your translation reference/template as it should be the most accurate and up to date. The file locations are relative to the top directory of the Hedgewars source code. You can edit all these files with a text editor, but for some files special editors are available.
 
 === Overview ===
-These are all files which contain translatable text. Replace “ZZ” with the [https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes ISO 639-1 language code] (e.g. “de” for German).
+These are all files which contain translatable text. Replace “ZZ” with the actual language code.
 
  * `/share/hedgewars/Data/Locale/ZZ.txt`—In-game strings
  * `/share/hedgewars/Data/Locale/ZZ.lua`—Script transations