Details
-
Task
-
Resolution: Out of scope
-
P2: Important
-
None
-
None
Description
In QML there is a need to enable locale-specific resource lookup. E.g. an icon with a house (depicting home) would work well in western locales, but for asian locales you might want to replace that icon with the appropriate chinese character for "Home". Similarly, a Button.qml in Hebrew might use a different layout of the label where the text is right-aligned and the icon is placed to the right.
Such resources could be provided per application / module by using a directory structure similar to W3C widgets "Content Localization";
APP_DIRECTORY/locales/ en_gb icon_home.png ch icon_home.png
where the application replaces default resources using resources for the current locale.
Attachments
Issue Links
- relates to
-
QTBUG-16679 Research support conditional loading based on environment
-
- Closed
-