Kent Olsson schrieb:
Hej!

* QxLocaleManager: Matching the qooxdoo naming scheme for (singleton) instances which manage other objects

What I thought. It is the way to go.

* QxLocale: The class which will be managed by the above locale manager. Can be assosiated with a remote version of QxStringBundle which will be loaded dynamically on a interface language switch.

I agree.

* QxStringBundle: A system which registers key (gettext like id) and value = language value. You can register multiple string bundles, each representing one language, to the locale manager.

I do not like this name. It is better with QxResource, because it does
not only include text strings. Images can then also be localized.

I agree. But I also like to discuss the class names with Andreas, later.

Sebastian


Just some first ideas how we could handle this in qooxdoo.

Some nice thing would also be: A system which safely detects the users system language and country.

I agree.

Kent

Regards,

Sebastian


Kent Olsson schrieb:
To be able to localize the qooxdoo application, I have contributed to
classes:

QxLocale - keeps the information about available locales and the current
locale chosen.

QxResource - is the class loading the actual resource strings for
different languages.

I would like to, not implemented yet, to use QxGetResponse to get the
strings from different XML files from the server. I do not really
understand what the status is of the AJAX implementation.

Sebastian, can you give me an example how it works and how you want it
to work?

I attach the classes for review.

Kent


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to