Session Manager Language Thread (New Translators Welcome)
-
- Posts: 855
- Joined: 05 Oct 2011 13:15
Session Manager Language Thread (New Translators Welcome)
@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.
Last edited by FluxTorpedoe on 25 Sep 2022 18:08, edited 19 times in total.
• Scripts: Session Manager | SlideShow | Collection Manager | Power Launcher | Akelpad syntax highlighting | ...
-
- Posts: 2341
- Joined: 04 Jan 2010 14:27
- Location: Pasárgada (eu vou!)
Re: Session Manager — Translators needed please
I'm on it - just need to finish some urgent stuff (~2 or 3 weeks).
Congrats!
Congrats!
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...
-
- Posts: 855
- Joined: 05 Oct 2011 13:15
Re: Session Manager — Translators needed please
Cool, that's great news!!!
Well, of course as Murphy would have it, when I decided on using a 2 letters extension, I briefly considered the case of "ptbr" (really!), before I set my mind to something else…
Hehe, we'll figure it out (don't know if "pb" exists)…
Thank you for your support!
Flux
Well, of course as Murphy would have it, when I decided on using a 2 letters extension, I briefly considered the case of "ptbr" (really!), before I set my mind to something else…
Hehe, we'll figure it out (don't know if "pb" exists)…
Thank you for your support!
Flux
• Scripts: Session Manager | SlideShow | Collection Manager | Power Launcher | Akelpad syntax highlighting | ...
-
- Posts: 2341
- Joined: 04 Jan 2010 14:27
- Location: Pasárgada (eu vou!)
Re: Session Manager — Translators needed please
'pb' is an option, but the usual are 'por' (continental portuguese) or 'pob' (brazilian portuguese).
If I had the option, I'd prefer 'ptbr' - which is widely known ('pob' is not 'popular', so to speak).
If I had the option, I'd prefer 'ptbr' - which is widely known ('pob' is not 'popular', so to speak).
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...
Re: Session Manager — Translators needed please
Hi Flux
I got your PM and like the idea of gathering the translations i one place, so you will always find the latest SM_da HERE
I've spent the morning checking my translation, and it seems OK. I made a few minor corrections, and uploaded to the MLS thread. There will probably be more changes along the way (there always is ), but I'll upload a new file, if I make any changes.
BTW: Danish translates into Dansk, not Danske .
No biggie, it's not my first translation@regmos
Thanks for the initiative and the hard work! And you did it without even having SM v4 on hand!
I got your PM and like the idea of gathering the translations i one place, so you will always find the latest SM_da HERE
I've spent the morning checking my translation, and it seems OK. I made a few minor corrections, and uploaded to the MLS thread. There will probably be more changes along the way (there always is ), but I'll upload a new file, if I make any changes.
BTW: Danish translates into Dansk, not Danske .
Kind regards
Regmos
Regmos
-
- Posts: 855
- Joined: 05 Oct 2011 13:15
Re: Session Manager — Translators needed please
Thank you!
I updated Session Manager's post with your link —and the "Dansk" correction .
Have a nice day,
Flux
English language reference file v4.a1:
I updated Session Manager's post with your link —and the "Dansk" correction .
Have a nice day,
Flux
English language reference file v4.a1:
Last edited by FluxTorpedoe on 03 Sep 2019 16:09, edited 2 times in total.
• Scripts: Session Manager | SlideShow | Collection Manager | Power Launcher | Akelpad syntax highlighting | ...
Re: Session Manager — Translators needed please
Hi FluxTorpedoe
I just finished the Italian translation (Italiano), and I was wondering how to share the file. Since I don't have the possibility to edit the first post in the Italian thread (it's not of my doing), I just created a new post with translation attached, and I was thinking of updating the same post in the future, so you can link at it and don't have to bother searching every time a different post with the updated files.
It's here: http://www.xyplorer.com/xyfc/viewtopic. ... 52#p127315
Hope this is OK... if not, let me know what works best for you
I just finished the Italian translation (Italiano), and I was wondering how to share the file. Since I don't have the possibility to edit the first post in the Italian thread (it's not of my doing), I just created a new post with translation attached, and I was thinking of updating the same post in the future, so you can link at it and don't have to bother searching every time a different post with the updated files.
It's here: http://www.xyplorer.com/xyfc/viewtopic. ... 52#p127315
Hope this is OK... if not, let me know what works best for you
-
- Posts: 2341
- Joined: 04 Jan 2010 14:27
- Location: Pasárgada (eu vou!)
Re: Session Manager — Translators needed please
Any special care concerning this, Flux?SkyFrontier wrote:'pb' is an option, but the usual are 'por' (continental portuguese) or 'pob' (brazilian portuguese).
If I had the option, I'd prefer 'ptbr' - which is widely known ('pob' is not 'popular', so to speak).
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...
-
- Posts: 2341
- Joined: 04 Jan 2010 14:27
- Location: Pasárgada (eu vou!)
Re: Session Manager — Translators needed please
ITT crashed on me.
Falling back to the hard way.
Falling back to the hard way.
Code: Select all
Assinatura do problema:
Nome do Evento de Problema: APPCRASH
Nome do Aplicativo: XYplorer.exe
Versão do Aplicativo: 15.50.0.202
Carimbo de Data/Hora do Aplicativo: 55cb7937
Nome do Módulo de Falhas: KERNELBASE.dll
Versão do Módulo de Falhas: 6.3.9600.16656
Carimbo de Data/Hora do Módulo de Falhas: 531812f4
Código de Exceção: c000041d
Deslocamento de Exceção: 00012c1a
Versão do sistema operacional: 6.3.9600.2.0.0.768.100
Identificação da Localidade: 1046
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...
Re: Session Manager — Translators needed please
Yep, editing the sm.0006=00|{Layout Session}|--|{Layout Session} entry (or just clicking on it), the Translation Tool crashes, and XY with it. I don't know if it's the presence of the braces '{ }' or something else... In any case I solved the problem by directly translating that entry in the text file.SkyFrontier wrote:ITT crashed on me.
Falling back to the hard way.
All the others are no problem for the ITT.
-
- Posts: 2341
- Joined: 04 Jan 2010 14:27
- Location: Pasárgada (eu vou!)
Re: Session Manager — Translators needed please
...Don...?Flora_RMC wrote:Yep, editing the sm.0006=00|{Layout Session}|--|{Layout Session} entry (or just clicking on it), the Translation Tool crashes, and XY with it. I don't know if it's the presence of the braces '{ }' or something else... In any case I solved the problem by directly translating that entry in the text file.SkyFrontier wrote:ITT crashed on me.
Falling back to the hard way.
All the others are no problem for the ITT.
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...
-
- Site Admin
- Posts: 59751
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Session Manager — Translators needed please
Sorry, no time to read all the stuff above. If you can make me a simple load+crash file, then I can look into it.
FAQ | XY News RSS | XY Twitter
Re: Session Manager — Translators needed please
Code: Select all
sm.0006=00|{Layout Session}|--|{Layout Session}
Even simply a space prefix should avoid crashes.
Code: Select all
sm.0006=00| {Layout Session}|--| {Layout Session}
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
-
- Posts: 855
- Joined: 05 Oct 2011 13:15
Re: Session Manager — Translators needed please
@Flora_RMC
No problem for the link; I just updated Session Manager's page with it.
Please just let me know if/when you update it so that I can mention it on SM's page —we wouldn't want to miss it!
---------------------------
@SkyFrontier
But I've kept SM's language detection very basic (automatically using the first "2 letters extension" file found), because it happens on SM startup. Which means I'd have to add more routines to support "ptbr"…
So if you're not too put off by "pb", well, that would be kind of ideal!
Anyway, it wouldn't be seen anywhere but on the extension of the language file…
Grazie Mille !Flora_RMC wrote:Hi FluxTorpedoe
I just finished the Italian translation (Italiano), and I was wondering how to share the file. […]
Hope this is OK... if not, let me know what works best for you
No problem for the link; I just updated Session Manager's page with it.
Please just let me know if/when you update it so that I can mention it on SM's page —we wouldn't want to miss it!
---------------------------
@SkyFrontier
(Just back online, sorry for the delay.) Well, I'd prefer 'ptbr' too, it feels more proper…SkyFrontier wrote:Any special care concerning this, Flux?SkyFrontier wrote:'pb' is an option, but the usual are 'por' (continental portuguese) or 'pob' (brazilian portuguese).
If I had the option, I'd prefer 'ptbr' - which is widely known ('pob' is not 'popular', so to speak).
But I've kept SM's language detection very basic (automatically using the first "2 letters extension" file found), because it happens on SM startup. Which means I'd have to add more routines to support "ptbr"…
So if you're not too put off by "pb", well, that would be kind of ideal!
Anyway, it wouldn't be seen anywhere but on the extension of the language file…
• Scripts: Session Manager | SlideShow | Collection Manager | Power Launcher | Akelpad syntax highlighting | ...
-
- Posts: 855
- Joined: 05 Oct 2011 13:15
Re: Session Manager — Translators needed please
Thanks Sammay for the debugging!SammaySarkar wrote:{...} regions are templates filled with dynamic text content at runtime. These are not / can't be displayed in the ITT in the original string. So when the original string has nothing but a {...}, there' nothing to display there, which is not expected behavior => crash.Code: Select all
sm.0006=00|{Layout Session}|--|{Layout Session}
@all
To avoid further problems, I updated the english language file with "[]" instead of "{}" in this entry (only used as a visual notifier in the "Delete sessions" window).
Updated language file available at the end of the Session Manager [v4.a2 ML(3)] post.
English language reference file v4.a2:
Last edited by FluxTorpedoe on 03 Sep 2019 15:53, edited 2 times in total.
• Scripts: Session Manager | SlideShow | Collection Manager | Power Launcher | Akelpad syntax highlighting | ...