/*! \page i18n Internationalisation Guidelines \htmlinclude i18n-toc.html \section intro Introduction This document provides guidelines on developing locale-aware applications for the MeeGo Touch UI Framework. Developers, translators, and user interface designers are the main target audience of this document. Generally, as the MeeGo Touch UI Framework uses Qt as it’s base, some of the Qt internationalisation practices also apply. However, the MeeGo Touch UI Framework provides additional functionalities, hence it is recommended that developers always use MeeGo Touch UI Framework classes to achieve full internationalisation support in their applications. This document discusses several general internationalisation guidelines for user interface designers. They are general enough and may also be applicable in another projects and vice versa. \section architecture Architecture \image html i18n-class.png "" \section supportedlanguages Supported Languages and calendar systems Below is the list of officially supported languages both for writing systems and text rendering: - American English - Arabic - Basque - Brazilian Portuguese - British English - Canadian French - Catalan - Chinese Simplified - Chinese Traditional - Chinese Hongkong - Danish - Dutch - Finnish - French - Galician - German - Greek - Hebrew - Hindi - Hungarian - Indonesian - Italian - Malay - Norwegian - Persian - Polish - Portuguese - Romanian - Russian - Spanish - Spanish in Latin America - Slovak - Swedish - Thai - Turkish - Ukranian - Urdu Although the implementation contains support for several calendar systems, officially the MeeGo Touch UI Framework currently supports only Gregorian and Islamic calendar. \section localesystem Locale system \subsection localesystemsettings Settings The MeeGo Touch UI locale system uses the following main settings:
gconf key | description | example value |
---|---|---|
/meegotouch/i18n/language | main language setting | en_US |
/meegotouch/i18n/lc_time | for date, time, and calendar | ar\@calendar=islamic |
/meegotouch/i18n/lc_collate | for sorting | de_DE\@collation=phonebook |
/meegotouch/i18n/lc_numeric | formatting of numbers | hi |
/meegotouch/i18n/lc_monetary | for formatting of amounts of money | fi_FI\@currency=EUR |
Package name | Contents |
meegotouch-demos-widgetsgallery-l10n-engineering-english |
/usr/share/l10n/meegotouch/widgetsgallery.qm /usr/share/doc/meegotouch-demos-widgetsgallery-l10n-engineering-english/widgetsgallery.ts /usr/share/doc/meegotouch-demos-widgetsgallery-l10n-engineering-english/changelog.Debian.gz |
meegotouch-demos-widgetsgallery-l10n-ar |
/usr/share/l10n/meegotouch/widgetsgallery_ar.qm /usr/share/doc/meegotouch-demos-widgetsgallery-l10n-ar/changelog.Debian.gz |
... |
... |
meegotouch-demos-widgetsgallery-l10n-zh-cn |
/usr/share/l10n/meegotouch/widgetsgallery_zh_CN.qm /usr/share/doc/meegotouch-demos-widgetsgallery-l10n-zh-cn/changelog.Debian.gz |
Widget | Works with RTL | Comments |
MAnimatedIcon | OK | Nothing to do for RTL |
MApplicationMenu | broken? | In widgetsgallery, click "Application Menu", then click "Application Menu" in the navigation bar. A menu with offering the names "Plato", "Twain", "Einstein", "Adams" is openened. Hit Control-D to change the layout direction, you see that the these names which were originally "almost" centred are aligned right in RTL mode. They should be aligned in a mirrored way, i.e. if they are a bit left of the centre in LTR mode, they should be a bit right of the centre in RTL mode. Is this a problem with MApplicationMenu or with MAction? |
MApplicationPage | OK | Nothing to do for RTL |
MApplicationWindow | OK | Nothing to do for RTL |
MButton | OK | But the switches in the switchpage of widgetsgallery (which are MButtons) do not reverse the alignment of their ON/OFF texts. Problem in MButton or somewhere else? |
MButtonGroup | OK | Nothing to do for RTL |
MComboBox | OK | |
MContainer | OK | Nothing to do for RTL |
MDialog | OK | |
MDockWidget | OK | Nothing to do for RTL |
MEscapeButtonPanel | OK | Nothing to do for RTL |
MGrid | broken | There seems to be a grid with gray squares in the background and blue buttons in the foreground in the widgetsgallery grid page. In LTR mode, the gray squares align with the blue buttons, i.e. on top of each gray square is a blue button. In LTR mode, the two arrays are shifted against each other. This doesn't look right. |
MHomeButtonPanel | OK | Nothing to do for RTL |
MImage | OK | Nothing to do for RTL |
MInfoBanner | broken | Always slides in from the left side, see "Dialogs and Notifications" page in widgetsgallery. |
MLabel | OK | It did not change alignment on the fly until recently but this is fixed now, see NB#144377 |
MMessageBox | OK | |
MModalSceneWindow | OK | Nothing to do for RTL |
MNavigationBar | broken | Icon in the navigation bar is always on the left side |
MObjectMenu | probably OK | Where is this used? |
MPannableViewport | OK | Position indicator correctly changes side |
MPannableWidget | OK | Nothing to do for RTL |
MPopupList | OK | |
MProgressIndicator | OK | |
MPositionIndicator | broken | Is always on the right side. Can be seen on the start page of Widgetsgallery. |
MSeekBar | broken | slides correctly from the right in RTL mode but the black area showing the "already" downloaded stuff is only visible in LTR mode. |
MSeparator | OK | Nothing to do for RTL |
MSlider | OK | |
MSlideShow | OK | Nothing to do for RTL |
MTextEdit | OK | NB#104397 is very obvious here, but this is not the fault of MTextEdit. |
MToolBar | OK | |
MWindow | OK | Nothing to do for RTL |