Session Manager Language Thread (New Translators Welcome)
Posted: 03 Aug 2015 02:15
@all translators — Updated 2022-09-25
Hi everyone!
Session Manager needs your help to reach out to more people in their native language!
• DOWNLOADS:
— Latest English reference file v7.00: Download here
———————————————————————————
It is now supporting language files, fully compliant with XYplorer default language file and Interface Translation Tool.
=> It should be relatively easy to translate with ITT since there aren't many words not already present in XY.
• CONCEPT:
— Session Manager language files must be located in the same folder as SM main script, and must have the same filename, but with a 2 letters extension, e.g. "SessionManager.cz".
— SM uses the first language file it finds. In case of missing file (or missing entries) it falls back to its internal english language.
— A single language file contains all the text entries (without redundancy), either in full sentences, or in syntagmas of bigger sentences.
— The format is the same as XY language files, i.e. "id#=00|English Text|--|Translated Text".
It can be translated manually directly in the file itself, or
It can be translated through XY Interface Translation Tool (much faster, and with the benefit of leveraging already translated entries).
• IMPORTANT:
— For languages with space needed before ":" use only non-breaking space " " –else menu breaks before colon.
— Do not use curly brackets "{}", not compatible with ITT
• POSTING NOTES:
— I've decided it's better and safer to keep XY and SM language files separately (even if they blend well for translation purposes), but
— To keep "publicity" and updates posting easy —and credit where it's due!— I think it would be better to leave you, the translators, post in your existing ML thread your SM language file (zipped inside a SessionManager_##.zip). I would then link to the file in your post, along with your name, in Session Manager main post.
• QUICK PROCEDURE to translate via ITT: (step-by-step below)
— Just append "SessionManager.en" at the end of your local language file, edit "Translators" entry in header of "SessionManager.xys" for real-time checking, and translate in XY's ITT as usual.
———————————————————————————
Of course, don't hesitate if you have any comment or suggestion…
Thanks in advance for your cooperation!
Flux
———————————————————————————
• STEP-BY-STEP PROCEDURE
1. Append the content of the unzipped reference file "SessionManager.en" at the end of a copy of your translated XY language file (e.g. "XYplorer\Data\Czech+SM.lng").
2. Select this local language file in XYplorer and open the "Interface Translation Tool".
3. Session Manager entries will appear at the end as "Not Yet Translated".
4. In header of "SessionManager.xys" script file, under "TRANSLATORS:", remove the "//" comment mark (and edit entry) to use this file in SM and check as you translate.
—
5. When translation is finished, replace the content of the reference file "SessionManager.en" (already in UTF-16LE) with your freshly translated SM part from the end of your XY language file.
6. Rename the extension of the reference file with the 2 letters identifying your language (e.g. "cz"), and copy this file in your script folder next to SM main script.
7. In header of "SessionManager.xys" script file, reinsert the "//" comment mark before the link to the main language file, so SM will use its new language file instead.