translation
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
translation [2012/06/03 18:56] – [How to translate romcenter to your language ?] romcenter | translation [2021/02/28 18:35] (current) – romcenter | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== How to translate romcenter to your language ? ====== | ====== How to translate romcenter to your language ? ====== | ||
- | {{: | + | First, check in romcenter if your transation is not yet available. |
- | First, [[http:// | + | ====== Translation ====== |
- | All required files are included | + | Romcenter strings |
- | :!: Romcenter uses < | + | ===== Translating strings ===== |
- | To change | + | With a text editor |
+ | With a resource editor: There are several free resx editors. I recommend using the standalone version of (https://github.com/ | ||
+ | Other tool: Zeta Resource Editor | ||
- | Ex: To use German language in france, save fr.mo to fr-bak.mo, and rename de.mo to fr.mo. | + | ===== Compiling new translation resources ===== |
- | To use english language (default), rename \languages\ | + | Once the translation is done, you must compile the resx file to a satellite assembly for romcenter to use it. |
- | ===== Prepare environment ===== | + | |
- | * Install [[http:// | + | |
- | ===== Locate < | + | To compile resx file, resgen.exe |
+ | Commands to generate a satellite assembly (.dll) from a string resource file (.resx): | ||
- | If you want to update an existing < | + | (Replace the XX by your language code (see here:http://www.csharp-examples.net/ |
- | * Locate it and open it | + | |
- | * Go to " | + | |
- | * Select templatexxx.pot and click ' | + | |
- | If you want to create a new translation: | + | resgen.exe / |
- | * Copy templatexxx.pot to < | + | |
- | * Open < | + | |
- | {{:poedit.png? | + | al.exe /culture:XX / |
- | + | ||
- | ===== Translate ===== | + | |
- | * Fill the missing translations and check the other ones | + | |
- | * Save the file. This will produce a compiled file (.mo) | + | |
- | ===== Test ===== | + | This will generate the assembly RomCenter.Localization.dll |
- | * Copy this .mo in romcenter\languages\< | + | |
- | {{: | + | ===== Testing translation ===== |
- | | + | |
- | | + | |
- | * Post the new file in the forum for distribution | + | |
- | + | Help and support: [[http://forum.romcenter.com]] | |
- | Help and support: [[http://www.romcenter.com/ | + |
translation.txt · Last modified: 2021/02/28 18:35 by romcenter