View Issue Details

IDProjectCategoryView StatusLast Update
0000334WackoWikihandlerpublic2011-05-31 21:24
ReporterDidierSpaier Assigned Toadministrator  
PriorityhighSeveritytweakReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.2 
Target Version5.0.betaFixed in Version5.0.beta 
Summary0000334: bookmarks shown for other language if multilanguage is off
DescriptionIf I un-check Multingual at installation time, then a problem arise if browser's preferred language differ from language chosen during the installation. Then (e.g. for browser's preferred language=>en whilst wacko config language=>fr) some standard bookmarks don't work, because corresponding pages were not inserted in the database. So we see Changes?, Index? and Comments? instead of working links because RecentChanges, PageIndex and RecentlyCommented tagged pages were not inserted in the database during installation (see appended snapshot wackowiki4.png).

As a workaround I suggest that if "multilinguage" is not set to "on" or is not present in the configuration file, GUI language be always set to the one indicated in the "language" parameter of the same file, not considering browser's setting at all in this case.
TagsNo tags attached.

Relationships

child of 0000089 resolvedTann San Redirect non logged in users to the language that suits their system as default 

Activities

administrator

2010-02-02 02:35

administrator   ~0000738

fixed wih rev1045 - function GetDefaultBookmarks: case for multilanguage off was just missing - it was that simple tsss...

if(isset($user["lang"]))
{
    $lang = $user["lang"];
}
else if (isset($this->config["multilanguage"]))
{
    $lang = $this->UserAgentLanguage();
}
else
{
    $lang = $this->config["language"];
}

Issue History

Date Modified Username Field Change
2009-10-11 12:49 administrator New Issue
2009-10-11 12:49 administrator Issue generated from: 0000089
2009-10-11 12:49 administrator Relationship added child of 0000089
2009-10-11 12:49 administrator Reporter administrator => DidierSpaier
2009-10-11 12:50 administrator File Added: wackowiki4.png
2009-10-11 12:59 administrator Target Version => 5.0.0
2009-10-13 15:58 administrator Target Version 5.0.0 => 5.0.beta
2009-12-12 14:31 administrator Summary bookmarks shown for other language if multilinguage is off => bookmarks shown for other language if multilanguage is off
2010-02-02 02:35 administrator Note Added: 0000738
2010-02-02 02:35 administrator Status assigned => resolved
2010-02-02 02:35 administrator Resolution open => fixed
2010-02-02 02:35 administrator Fixed in Version => 5.0.beta
2010-02-02 02:37 administrator File Deleted: wackowiki4.png
2010-03-08 10:14 administrator Category Handler => handler
2011-05-31 21:24 administrator Build => R5.0.beta