You are here

[Fixed] Evince won't let you change language without the platform

18 posts / 0 new
Last post
Leon B
Offline
Last seen: 5 years 12 months ago
Joined: 2010-03-22 14:02
[Fixed] Evince won't let you change language without the platform

little question:

Is it possible to change the interface language of Evince Portable?

Regards,
Leon

[Moved to Other Apps Support by mod JTH]

Gord Caswell
Gord Caswell's picture
Offline
Last seen: 5 days 7 hours ago
DeveloperModerator
Joined: 2008-07-24 18:46
system-dependent

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.

Leon B
Offline
Last seen: 5 years 12 months ago
Joined: 2010-03-22 14:02
My system language is German,

My system language is German, but the Evince interface is English anyway.
I'm testing Evince Portable at the moment "purely", without the platform.

Gord Caswell
Gord Caswell's picture
Offline
Last seen: 5 days 7 hours ago
DeveloperModerator
Joined: 2008-07-24 18:46
Not possible in evince itself

This isn't possible in Evince itself. See here: http://mail.gnome.org/archives/evince-list/2011-March/msg00006.html

Simeon
Simeon's picture
Offline
Last seen: 10 years 1 month ago
DeveloperTranslator
Joined: 2006-09-25 15:15
no

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

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 9 years 5 months ago
Joined: 2007-04-15 21:08
Bad

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

Gord Caswell
Gord Caswell's picture
Offline
Last seen: 5 days 7 hours ago
DeveloperModerator
Joined: 2008-07-24 18:46
I'll fix this shortly

Ill fix this shortly, I need to submit a revision for the multiple instances issue anyway.

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 9 years 5 months ago
Joined: 2007-04-15 21:08
Get the right file

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

Gord Caswell
Gord Caswell's picture
Offline
Last seen: 5 days 7 hours ago
DeveloperModerator
Joined: 2008-07-24 18:46
Thanks, that's what I've

Thanks, that's what I've used.

Leon B
Offline
Last seen: 5 years 12 months ago
Joined: 2010-03-22 14:02
sounds goood...

sounds goood...

Leon B
Offline
Last seen: 5 years 12 months ago
Joined: 2010-03-22 14:02
Thanks for your replies! So

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.

Leon B
Offline
Last seen: 5 years 12 months ago
Joined: 2010-03-22 14:02
Possible solution found?

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.

Gord Caswell
Gord Caswell's picture
Offline
Last seen: 5 days 7 hours ago
DeveloperModerator
Joined: 2008-07-24 18:46
Mostly fixed

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

John T. Haller
John T. Haller's picture
Offline
Last seen: 5 hours 13 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
INI

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!

Gord Caswell
Gord Caswell's picture
Offline
Last seen: 5 days 7 hours ago
DeveloperModerator
Joined: 2008-07-24 18:46
Haven't looked at GnuCash

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.

John T. Haller
John T. Haller's picture
Offline
Last seen: 5 hours 13 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Ah Good

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!

Gord Caswell
Gord Caswell's picture
Offline
Last seen: 5 days 7 hours ago
DeveloperModerator
Joined: 2008-07-24 18:46
Waiting for launcher update

I was waiting for the launcher update, now that it has been pushed out i'll get it to you ASAP.

John T. Haller
John T. Haller's picture
Offline
Last seen: 5 hours 13 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Fixed in 2.32.0-144.01 Rev 2

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!

Log in or register to post comments