little question:
Is it possible to change the interface language of Evince Portable?
Regards,
Leon
[Moved to Other Apps Support by mod JTH]
New: Run-Command (Dec 2, 2024), Platform 29.5.3 (Jun 27, 2024)
1,100+ portable packages, 1.1 billion downloads
No Ads November!, Please donate today
The language handling is system-dependent, so it can't be changed directly, as far as I am aware. (I will check, though). What IS possible is changing the language of your PortableApps.com Platform, and Evince Portable will pick this up.
My system language is German, but the Evince interface is English anyway.
I'm testing Evince Portable at the moment "purely", without the platform.
This isn't possible in Evince itself. See here: http://mail.gnome.org/archives/evince-list/2011-March/msg00006.html
As Gord said, it cant be changed manually. Evince listens to the "LANG"-Variable which is set by the Platform.
"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate
LANG is set by the launcher, not the Platform.
The fact that you can't set an INI value manually and have it use German thereafter is a deficiency in Evince Portable's launcher. It should be saving the language and using [LanguageFile] to load it again to preserve the language. (Easier support for this case where it's an environment variable is coming in PAL 2.2, a key called "SaveLanguage".)
I am a Christian and a developer and moderator here.
“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1
Ill fix this shortly, I need to submit a revision for the multiple instances issue anyway.
Make sure you do it right for forwards compatibility - I think that is Data\settings\EvincePortableSettings.ini, section [EvincePortableSettings], key Language.
I am a Christian and a developer and moderator here.
“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1
Thanks, that's what I've used.
sounds goood...
Thanks for your replies!
So Evince (or the Evince launcher) just ignores my system language settings and only uses the language command (or whatsoever) of the platform.
It would be good, if the Evince launcher could change the language automatically at least to the system language or it could uses also the "classic" AppNamePortable.ini to specify a certain language.
Experimenting a little with the "new" App/AppInfo/AppNamePortable.ini I found a more or less brute solution to change the Language:
I just added to the EvincePortable.ini in the [Language] section the value "Default=de" (for example for German).
Unfortunately, the launcher now also ignores any language setting in the PortableApps menu.
Probably there is also a more nifty solution, so that the specific language value is only used, when Evince is NOT launched via the PortableApps Menu, but at the moment I'm a little bit overstrained with that amount of possible Language settings.
I have this mostly fixed in my local repo; however, as Evince itself doesn't allow selecting the language within the app, I can't set it up to allow selection portably either. It will save & use your platform or system language between sessions, though.
[EDIT] I've pushed the changes to my remote hg repo. See here: https://bitbucket.org/GordCaswell/evinceportable/overview
I thought we were going to use a simple INI setting for users to manually set their own setting like we do with other apps. GnuCash does this.
Sometimes, the impossible can become possible, if you're awesome!
I haven't looked at how GnuCash does it. I'll take a look and integrate that as well.
[EDIT] I took a look at GnuCash's launcher.ini, and I've got Evince set up the same way.
I think this is revision worthy, so as soon as you're happy and put a package together, we can push it out.
Sometimes, the impossible can become possible, if you're awesome!
I was waiting for the launcher update, now that it has been pushed out i'll get it to you ASAP.
This is fixed in today's release and you can change it permanently by editing the EvincePortableSettings.ini file in the Data\settings directory.
Sometimes, the impossible can become possible, if you're awesome!