Difference between revisions of "Languages"

From FreeOrionWiki
Jump to: navigation, search
(Translation Method)
(Use Interwiki links to point to wikipedia.)
 
(12 intermediate revisions by 3 users not shown)
Line 6: Line 6:
  
 
Anyone interested in adding support for another language can do so with these steps:
 
Anyone interested in adding support for another language can do so with these steps:
# In default/ copy the existing [[eng_stringtable.txt]] and rename it to represent the language you are translating into.  For example: [[ger_stringtable.txt]], [[esp_stringtable.txt]], etc.
+
# In default/stringtables copy the existing [https://github.com/freeorion/freeorion/blob/master/default/stringtables/en.txt en.txt] and rename it to represent the language you are translating into.  For example: [https://github.com/freeorion/freeorion/blob/master/default/stringtables/de.txt de.txt], [https://github.com/freeorion/freeorion/blob/master/default/stringtables/es.txt es.txt], etc. Use [[wikipedia:List_of_ISO_639-1_codes|ISO-639-1]] to name your string table properly.
# Edit this file, and create the translated entries. All translations '''must be''' encoded in UTF-8 format. ISO-8859-1 (sometimes called "Latin-1"), Windows-1252, and related encodings '''will not work'''.
+
# Edit this file, and create the translated entries. All translations '''must be''' encoded in [[wikipedia:UTF-8|UTF-8]] encoding. ISO-8859-1 (sometimes called "Latin-1"), Windows-1252, and related encodings '''will not work'''.
 
# Select your new stringtable file in the Options menu
 
# Select your new stringtable file in the Options menu
  
 
That's it!
 
That's it!
  
After making a new translation, please make a new page on the wiki for your translated stringtable (in the manner of the [[German translation]]) so it can be incorporated into future FreeOrion releases for others to use, critique and improve.
+
After making a new translation, please create a new thread in the [http://www.freeorion.org/forum/viewforum.php?f=27 FreeOrion Translations forum] your translated string table so it can be incorporated into future FreeOrion releases for others to use, critique and improve.
  
When translating, ideally start with the [http://freeorion.svn.sourceforge.net/viewvc/freeorion/trunk/FreeOrion/default/eng_stringtable.txt?view=markup latest version on SVN] of eng_stringtable.txt.  The version on SVN is updated by programmers to reflect any changes in code or new strings added, so using that eng_stringtable.txt ensures you're translating the most up-to-date set of strings.
+
Posting a string table to the FreeOrion Forum indicates that you release the changes under [http://creativecommons.org/licenses/by-sa/3.0/ Creative Commons Attribution - Attribution-ShareAlike 3.0] licence.
  
Some languages already have partly complete translations available. These should be reviewed periodically to ensure they are up-to-date with any changes to the [[eng_stringtable.txt]] on SVN. If you update an existing translation, please also update the corresponding page on the wiki by pasting the contents of the updated stringtable file you edited into the existing wiki page, between the <pre> and </pre> tags.
+
When translating, ideally start with the latest version on SVN of en.txt. The version on SVN is updated by programmers to reflect any changes in code or new strings added, so using that en.txt ensures you're translating the most up-to-date set of strings.
 +
 
 +
Some languages already have partial translations available. These should be reviewed periodically to ensure they are up-to-date with any changes to the [https://github.com/freeorion/freeorion/blob/master/default/stringtables/en.txt en.txt] on Git. If you update an existing translation, please post it on the [http://www.freeorion.org/forum/viewforum.php?f=27 FreeOrion Translations forum].

Latest revision as of 08:39, 18 July 2015

Translations Available

Reference: English

Czech | Danish | Dutch | Finnish | French | German | Italian | Polish | Russian | Spanish | Swedish

Translation Method

FreeOrion includes support for multiple languages. As we approach 1.0, translations will become an important part of the project. During the earlier stages it is not so critical, as much of the game content will change.

Anyone interested in adding support for another language can do so with these steps:

  1. In default/stringtables copy the existing en.txt and rename it to represent the language you are translating into. For example: de.txt, es.txt, etc. Use ISO-639-1 to name your string table properly.
  2. Edit this file, and create the translated entries. All translations must be encoded in UTF-8 encoding. ISO-8859-1 (sometimes called "Latin-1"), Windows-1252, and related encodings will not work.
  3. Select your new stringtable file in the Options menu

That's it!

After making a new translation, please create a new thread in the FreeOrion Translations forum your translated string table so it can be incorporated into future FreeOrion releases for others to use, critique and improve.

Posting a string table to the FreeOrion Forum indicates that you release the changes under Creative Commons Attribution - Attribution-ShareAlike 3.0 licence.

When translating, ideally start with the latest version on SVN of en.txt. The version on SVN is updated by programmers to reflect any changes in code or new strings added, so using that en.txt ensures you're translating the most up-to-date set of strings.

Some languages already have partial translations available. These should be reviewed periodically to ensure they are up-to-date with any changes to the en.txt on Git. If you update an existing translation, please post it on the FreeOrion Translations forum.