Translations.wiki
changeset 1088 c9c103205984
parent 1087 2ada7beb1e71
child 1089 6c59620e947f
equal deleted inserted replaced
1087:2ada7beb1e71 1088:c9c103205984
    36 In Windows you have to look into `c:\path-to-Hedgewars\share\Hedgewars\Data\Locale` where path-to-Hedgewars is the path to your Hedgewars installation.
    36 In Windows you have to look into `c:\path-to-Hedgewars\share\Hedgewars\Data\Locale` where path-to-Hedgewars is the path to your Hedgewars installation.
    37 
    37 
    38 For example, in an Arch Linux box the path is `/usr/share/hedgewars/Data/Locale`.
    38 For example, in an Arch Linux box the path is `/usr/share/hedgewars/Data/Locale`.
    39 For Windows 8, the path is `C:\Program Files (x86)\Hedgewars 0.9.19\Data\Locale`.
    39 For Windows 8, the path is `C:\Program Files (x86)\Hedgewars 0.9.19\Data\Locale`.
    40 
    40 
       
    41 == Language codes ==
       
    42 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).
       
    43 
    41 == Translation files ==
    44 == Translation files ==
    42 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.
    45 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.
    43 
    46 
    44 === Overview ===
    47 === Overview ===
    45 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).
    48 These are all files which contain translatable text. Replace “ZZ” with the actual language code.
    46 
    49 
    47  * `/share/hedgewars/Data/Locale/ZZ.txt`—In-game strings
    50  * `/share/hedgewars/Data/Locale/ZZ.txt`—In-game strings
    48  * `/share/hedgewars/Data/Locale/ZZ.lua`—Script transations
    51  * `/share/hedgewars/Data/Locale/ZZ.lua`—Script transations
    49  * `/share/hedgewars/Data/Locale/hedgewars_ZZ.ts`—Frontend
    52  * `/share/hedgewars/Data/Locale/hedgewars_ZZ.ts`—Frontend
    50  * `/share/hedgewars/Data/Locale/missions_ZZ.txt`—Mission names and descriptions
    53  * `/share/hedgewars/Data/Locale/missions_ZZ.txt`—Mission names and descriptions