You are here

[Fixed] Locale settings are not saved

8 posts / 0 new
Last post
Wamiduku
Offline
Last seen: 12 years 11 months ago
Joined: 2011-02-28 12:04
[Fixed] Locale settings are not saved

The Locale setting in Tools->Options->Language Settings->Languages is not
saved when the locale is different from the user interface language. Every time LibreOffice is started, the selected locale setting is reset
back to the same language as the setting for "User interface".

E.g. if I set the user interface language to "English (USA)" and the locale to
"Swedish (Sweden)", the locale will be set to "English (USA)" the next time I
start LibreOffice.

This bug is specific to the portable version, see http://en.libreofficeforum.org/node/327

John T. Haller
John T. Haller's picture
Online
Last seen: 7 min 34 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Fix Coming

This will be fixed in the 3.3.1 release. Until then, you can open up the file LibreOfficePortable.ini within in the LibreOfficePortable\App\AppInfo\Launcher directory. Scroll down to line 64 and there is a section of 5 lines starting with [FileWrite7]. Just delete all 5 lines and save the file.

Sometimes, the impossible can become possible, if you're awesome!

Wamiduku
Offline
Last seen: 12 years 11 months ago
Joined: 2011-02-28 12:04
Thx, problem solved!

Thx, problem solved!

John T. Haller
John T. Haller's picture
Online
Last seen: 7 min 34 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Fixed in 3.3.2

This has been fixed in the LibreOffice Portable 3.3.2 release. The above workaround is no longer necessary.

Sometimes, the impossible can become possible, if you're awesome!

gvlx
Offline
Last seen: 1 year 8 months ago
Joined: 2014-04-15 07:47
Problem is again present in 4.2.2.1

Version: 4.2.2.1
Build ID: 3be8cda0bddd8e430d8cda1ebfd581265cca5a0f

Before starting LO and changing UI locale, comment the lines in the file
<..>\PortableApps\LibreOfficePortable\App\AppInfo\Launcher\LibreOfficePortable.ini:

[FileWrite6]
File=%PAL:DataDir%\settings\user\registrymodifications.xcu
Type=XML text
XPath=//prop[normalize-space(@oor:name)="UILocale"]/value
Value=%PAL:LanguageCustom%
John T. Haller
John T. Haller's picture
Online
Last seen: 7 min 34 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Incorrect, Working Fine

I checked and the use case reported in this original bug, Swedish locale not being maintained when English UI is selected, is not occurring in 4.2.2.1, so this bug comment is incorrect. Other language selections also worked without incident as did language switching with the PA.c Platform.

If you're using LibreOffice Portable with the PortableApps.com Platform, keep in mind that the app will switch UI languages (but not locales) to match the platform. This is by design and what those FileWrite6 lines are intended to do. If you don't want this to occur, turn the option off within the platform's Options window.

Sometimes, the impossible can become possible, if you're awesome!

gvlx
Offline
Last seen: 1 year 8 months ago
Joined: 2014-04-15 07:47
Clarification needed

Hi,

When you say "..within the platform's Options window." do you mean LibreOffice's option in
Tools->Options->Language Settings->Languages->User Interface ?

I did not find any option to "switch UI languages (but not locales) to match the platform" (I have since updated to 4.2.3.3).

Is there any option on the PortableApps Launcher that I missed?

John T. Haller
John T. Haller's picture
Online
Last seen: 7 min 34 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
UI Language vs Locale

Only the UI language within LibreOffice is switched automatically. The Locale is not other than when you install. That was what this now-fixed bug addresses so people can manually select a locale other than the UI language. There is now no code within the LibreOfficePortable.exe configuration to change the locale, only the UI language. The UI language for most apps is switched automatically by the platform unless you turn that feature off within the platform's options.

Perhaps this would be easier if you created a new post with what you think is your issue rather than cluttering up a closed bug report for an unrelated issue.

Sometimes, the impossible can become possible, if you're awesome!

Log in or register to post comments