translate_mail2voice
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
translate_mail2voice [2015/04/28 12:07] – mhatz | translate_mail2voice [2023/04/25 16:52] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 7: | Line 7: | ||
The translation is made with locale files (using XML code). All locales files are in the locales folder and are named with the .lng extension. The reference file is english.lng so each locale file must translate every words/ | The translation is made with locale files (using XML code). All locales files are in the locales folder and are named with the .lng extension. The reference file is english.lng so each locale file must translate every words/ | ||
- | You must not modify the reference file (english.lng) directly (but it's OK for the others). If you want to modify the english translations, | + | You must not modify the reference file (english.lng) directly (but it's OK for the others). If you want to modify the english translations, |
In a .lng file, there are two types of translations: | In a .lng file, there are two types of translations: | ||
Line 48: | Line 48: | ||
The first parameter is the identifier of the string which will be used in the .lng file. | The first parameter is the identifier of the string which will be used in the .lng file. | ||
- | When the reference locale file is generated, you will see a line like this in the english.lng file: | + | When the reference locale file is generated, you will see a line like this in the voiceSentences section of the english.lng file: |
<setting name=" | <setting name=" | ||
translate_mail2voice.1430222858.txt.gz · Last modified: 2023/04/25 16:52 (external edit)