Details
-
Type: Bug
-
Status: Closed (View Workflow)
-
Priority: Critical
-
Resolution: Cannot Reproduce
-
Affects Version/s: 1.5.8
-
Fix Version/s: None
-
Component/s: core
-
Labels:None
-
Environment:
Sword 1.5.8.
Description
In 1.5.8 it's impossible to do something like this:
LocaleMgr::getSystemLocaleMgr()->setDefaultLocaleName("de");
LocaleMgr::getSystemLocaleMgr()->setDefaultLocaleName("en_US");
The second call leaves the de locale set. There's no way to set the english locale back.
Frontends (esp. BibleTime get mixed up by this.
(I think the logic way is to create a locale object for en_US and offer it as a normal SWLocale.)