Opened 14 years ago

Last modified 14 years ago

#710 new defect

Problems while setting languages in mapbender

Reported by: armin11 Owned by: christoph
Priority: major Milestone: future
Component: i18n Version: 2.7 rc1
Keywords: Cc: armin11

Description

Some installations will use a language parameter to control the i18n modules of mapbender. The language parameter can be set in the session. It will be s.th. like 'en' or 'de' or 'fr'. Mapbenders class_locale tests if there is a locale on the server which supports this language. A problem is now, that the locale is ambiguous. For 'en' maybe 'en_GB' or 'en_US' or s.th. else could be a special locale. The locale to look for is defined in classes/class_locale.php and the hash has only one entry for a single language. If this special locale is not installed in the server, Mapbender tries to use the browsers locale. It will be better to test all different locales which fits for a language and use the first which is found.

Change History (2)

comment:1 by christoph, 14 years ago

Milestone: 2.7 release2.8 release

comment:2 by kmq, 14 years ago

Milestone: 2.7.1 releasefuture
Note: See TracTickets for help on using tickets.