HelpUsTranslate: Difference between revisions
No edit summary |
No edit summary |
||
| Line 37: | Line 37: | ||
You can copy just the lines that you want to change from <code>original.csv</code> into <code>language.csv</code>, or you can copy all the whole contents of <code>original.csv</code>. | You can copy just the lines that you want to change from <code>original.csv</code> into <code>language.csv</code>, or you can copy all the whole contents of <code>original.csv</code>. | ||
=== Format of language.csv === | |||
<code>Language.csv</code> is a Comma-Separated-Value text file in UTF-8 encoding. It must start with a header row which indicates columns for '''state, key, svn, english, translation'''. | |||
'''state''': NEW, MODIFIED, PREVIOUS, CURRENT, OBSOLETE | |||
* NEW, it means that the string was recently added to the game and there is no translation for it yet. | |||
* MODIFIED means that the English string was changed since the last time it was translated and maybe the translation needs to be updated too. | |||
* PREVIOUS indicates the previous translation (or translations). These are typically for reference, and you should supply a translation for the MODIFIED key instead. | |||
* CURRENT indicates the current translation for a particular string. | |||
* OBSOLETE indicates old translations. These have been superceded by new translations. They are for reference only and should typically not be changed. | |||
=== Example: Fixing an incorrect translation in French === | === Example: Fixing an incorrect translation in French === | ||
=== Let's say for example that I want to change the key language_system === | |||
=== Example: Starting a new Portuguese translation === | === Example: Starting a new Portuguese translation === | ||