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 19:55] – [Select 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 ===== |
- | ===== Select language ===== | + | With a text editor |
+ | With a resource editor: There are several free resx editors. I recommend using the standalone version of (https:// | ||
+ | Other tool: Zeta Resource Editor | ||
- | There is no setting to select the language yet. To change the current language in romcenter, go to " | + | ===== Compiling new translation resources ===== |
- | Ex: To use German language in france, save fr.mo to fr-bak.mo, and rename de.mo to fr.mo. | + | Once the translation is done, you must compile the resx file to a satellite assembly for romcenter |
- | To use english language (default), rename \languages\ to \languages_bak\. | + | |
- | ===== Prepare environment ===== | + | |
- | * Install [[http:// | + | To compile resx file, resgen.exe and al.exe are used (provided in romcenter Resx folder). |
+ | Commands to generate a satellite assembly (.dll) from a string resource file (.resx): | ||
- | ===== Locate < | + | (Replace the XX by your language code (see here: |
- | If you want to update an existing < | + | resgen.exe /useSourcePath /compile romcenter.XX.resx, |
- | * Locate it and open it | + | |
- | * Go to " | + | |
- | * Select templatexxx.pot and click ' | + | |
- | If you want to create a new translation: | + | al.exe /culture:XX / |
- | * Copy templatexxx.pot to < | + | |
- | * Open < | + | |
- | {{: | + | This will generate |
- | + | ||
- | ===== Translate ===== | + | |
- | * Fill the missing translations and check the other ones | + | |
- | * Save the file. This will produce a compiled file (.mo) | + | |
- | ===== Test ===== | + | ===== Testing translation |
- | * Copy this .mo in romcenter\languages\< | + | |
- | {{: | + | Copy this file into romcenter\XX\ |
+ | Run romcenter | ||
+ | Go into File/ | ||
- | * Run romcenter. Strings must now be translated. | + | Help and support: [[http://forum.romcenter.com]] |
- | * Verify all forms, menus and messages to see if it's correct. | + | |
- | * Post the new file in the forum for distribution | + | |
- | + | ||
- | + | ||
- | Help and support: [[http://www.romcenter.com/ | + |
translation.txt · Last modified: 2021/02/28 18:35 by romcenter