[Mapbender-dev] switchLocale
Christoph Baudson
christoph.baudson at wheregroup.com
Tue Mar 25 06:54:55 EDT 2008
For Mapbender 2.5 we need a module to switch between different
languages. Previously there was the module "switchLocale", which
reloaded the GUI after switching the language. This module has now been
replaced by switchLocale_noreload:
http://www.mapbender.org/SwitchLocale_noreload
This is based on AJAX. Each module is responsible for getting the
current language data, whenever the event "eventLocalize" is triggered
by switchLocale_noreload (eventLocalize.trigger()). Besides the event
"eventLocalize", the module should register its localization function
with "eventInit", to make sure the correct language is displayed on
start-up.
We should write a tutorial on how to internazionalize a module. Any
volunteers? As a template, we can take a look at "tabs" or "digitize".
All i18nized modules also have to be tagged
[[Category:Internationalized]] on their module site. The img buttons are
i18nized in map.js, so they are not listed yet; we need to review and
test first.
Any questions on i18n? Let us know
Cheers
Christoph
--
****************************************
FOSSGIS Konferenz
Freie und Open Source Software für GIS
vom 01.-03. April 2008 in Freiburg
www.fossgis.de/
****************************************
_______________________________________
W h e r e G r o u p GmbH & Co. KG
Siemensstraße 8
53121 Bonn
Germany
Christoph Baudson
Anwendungsentwickler
Fon: +49 (0)228 / 90 90 38 - 25
Fax: +49 (0)228 / 90 90 38 - 11
christoph.baudson at wheregroup.com
www.wheregroup.com
Amtsgericht Bonn, HRA 6788
_______________________________________
Komplementärin:
WhereGroup Verwaltungs GmbH
vertreten durch:
Arnulf Christl, Olaf Knopp, Peter Stamm
_______________________________________
More information about the Mapbender_dev
mailing list