translations
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
translations [2025/04/16 06:41] – created hjokinen | translations [2025/04/16 06:56] (current) – [Misc] hjokinen | ||
---|---|---|---|
Line 3: | Line 3: | ||
JudoShiai has two independent language selections, one for the graphical user interface (GUI) and the other one for the sheet and results printing. Independent language selections are required, because | JudoShiai has two independent language selections, one for the graphical user interface (GUI) and the other one for the sheet and results printing. Independent language selections are required, because | ||
- | * Officials may be able to run the JudoShiai using the English GUI whilst some part of the audience prefer their own language. The GUI has more than 700 phrases to translate while printing the results use only less than 50 phrases. Thus it is easy to translate the sheet and result texts. | + | * Officials may be able to run the JudoShiai using the English GUI whilst some part of the audience prefer their own language. The GUI has more than 700 phrases to translate while printing the results use only less than 70 phrases. Thus it is easy to translate the sheet and result texts. |
* Officials want to use their own language if it is available, but in an international tournament the results must be in English. | * Officials want to use their own language if it is available, but in an international tournament the results must be in English. | ||
Line 18: | Line 18: | ||
A PO file is composed of lines starting with '' | A PO file is composed of lines starting with '' | ||
- | ``` | + | |
- | msgid " | + | msgstr " |
- | msgstr " | + | msgid " |
- | msgid " | + | msgstr " |
- | msgstr " | + | |
- | ``` | + | |
To create a new GUI translation get an existing PO file and rename it according to your own language. The locale code '' | To create a new GUI translation get an existing PO file and rename it according to your own language. The locale code '' | ||
Line 31: | Line 29: | ||
The result texts file has comment lines and text lines. Comment lines start with three hash marks (###). Comment text tells which phrase is expected. Translated text is on the next line. Example: | The result texts file has comment lines and text lines. Comment lines start with three hash marks (###). Comment text tells which phrase is expected. Translated text is on the next line. Example: | ||
- | ``` | + | |
- | ### 15: Match | + | Comb. |
- | Comb. | + | ### 16: Blue |
- | ### 16: Blue | + | Azul |
- | Azul | + | ### 17: White |
- | ### 17: White | + | Blanco |
- | Blanco | + | ### 18: Result (result of one fight) |
- | ### 18: Result (result of one fight) | + | Resultado |
- | Resultado | + | ### 19: Results (all the results of the tournament) |
- | ### 19: Results (all the results of the tournament) | + | Clasificación |
- | Clasificación | + | |
- | ``` | + | |
The first non-comment line is the language selection text visible in JudoShiai. Example file above begins like this: | The first non-comment line is the language selection text visible in JudoShiai. Example file above begins like this: | ||
- | ``` | + | |
- | ### First line is the menu text | + | Results in Spanish |
- | Results in Spanish | + | ### 1: Competitors |
- | ### 1: Competitors | + | Competidores |
- | Competidores | + | . . . |
- | . . . | + | |
- | ``` | + | |
===== Encoding ===== | ===== Encoding ===== | ||
- | Use UTF-8 encoding. In Windows environment it is recommended to use Notepad++ ([[https:// | + | Use UTF-8 encoding. In Windows environment it is recommended to use [[https:// |
===== Misc ===== | ===== Misc ===== | ||
Line 62: | Line 56: | ||
PO files are compiled and it is not possible to add them without recompilation. However, result text files can be added any time. Copy for example '' | PO files are compiled and it is not possible to add them without recompilation. However, result text files can be added any time. Copy for example '' | ||
+ | ===== User Guide ===== | ||
+ | [[https:// | ||
translations.1744807313.txt.gz · Last modified: 2025/04/16 06:41 by hjokinen