Achievo/Howto/Translators/Languages: Difference between revisions
| (11 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{achievo_howto|Easy|[[Sandy Pleyte]] <sandy@achievo.org>}} | |||
== Intro == | == Intro == | ||
In this howto I will explain | In this howto I will explain howto update or create a new language file. | ||
== Update your language file == | == Update your language file == | ||
If your language allready exists in Achievo, but it's not complete (check the [http://www.achievo.org/ | If your language allready exists in Achievo, but it's not complete (check the [http://www.achievo.org/product/languages languages page]). You can update the language files of Achievo and ATK as follows: | ||
1. Goto the languages directory in the Achievo directory | 1. Goto the languages directory in the Achievo directory | ||
2. Search your language file and edit it | 2. Search your language file and edit it | ||
3. Search for lines with '// Missing string!!!' on the end, like: | 3. Search for lines with '// Missing string!!!' on the end, like: | ||
<code> | <code> | ||
"unlocked" => "Unlocked", // Missing string!!! | "unlocked" => "Unlocked", // Missing string!!! | ||
</code> | </code> | ||
4. Change the "Unlocked" into your language and remove '// Missing string!!!' | 4. Change the "Unlocked" into your language and remove '// Missing string!!!' | ||
<code> | <code> | ||
"unlocked" => "Deblokkeren", | "unlocked" => "Deblokkeren", | ||
</code> | </code> | ||
5. Save the file | 5. Save the file | ||
6. Then goto the atk/languages directory and repeat step 2 till 5. | 6. Then goto the atk/languages directory and repeat step 2 till 5. | ||
7. Mail both files to mailto:translations@achievo.org | |||
7. Mail both files to [mailto:translations@achievo.org translations@achievo.org] | |||
Then we will add those files to the repository and the next release will contain them. | Then we will add those files to the repository and the next release will contain them. | ||
| Line 36: | Line 37: | ||
1. Goto the languages directory in the Achievo directory | 1. Goto the languages directory in the Achievo directory | ||
2. Check [http://www.iso.org/iso/en/prods-services/iso3166ma/02iso-3166-code-lists/list-en1.html Iso Codes | |||
3. Copy en.lng to your countrycode.lng | 2. Check the [http://www.iso.org/iso/en/prods-services/iso3166ma/02iso-3166-code-lists/list-en1.html Iso Codes] for your country code | ||
4. Change all english strings into your language | |||
3. Copy en.lng to <your countrycode>.lng | |||
4. Change $en into $<your countrycode> | |||
5. Change all english strings into your language | |||
6. Save the file | |||
7. Then goto the atk/languages directory and repeat step 2 till 6. | |||
8. Mail both files to [mailto:translations@achievo.org translations@achievo.org] | |||
Then we will add those files to the repository and the next release will contain them. | Then we will add those files to the repository and the next release will contain them. | ||
[[Category: Achievo Howtos]] | |||
Latest revision as of 21:35, 7 June 2008
|
Achievo Howto: Achievo/Howto/Translators/Languages
|
Intro
In this howto I will explain howto update or create a new language file.
Update your language file
If your language allready exists in Achievo, but it's not complete (check the languages page). You can update the language files of Achievo and ATK as follows:
1. Goto the languages directory in the Achievo directory
2. Search your language file and edit it
3. Search for lines with '// Missing string!!!' on the end, like:
"unlocked" => "Unlocked", // Missing string!!!
4. Change the "Unlocked" into your language and remove '// Missing string!!!'
"unlocked" => "Deblokkeren",
5. Save the file
6. Then goto the atk/languages directory and repeat step 2 till 5.
7. Mail both files to translations@achievo.org
Then we will add those files to the repository and the next release will contain them.
Create a new language file
When you language isn't support yet, you can add it as follows:
1. Goto the languages directory in the Achievo directory
2. Check the Iso Codes for your country code
3. Copy en.lng to <your countrycode>.lng
4. Change $en into $<your countrycode>
5. Change all english strings into your language
6. Save the file
7. Then goto the atk/languages directory and repeat step 2 till 6.
8. Mail both files to translations@achievo.org
Then we will add those files to the repository and the next release will contain them.