** No longer affects: ubuntu-ui-toolkit (Ubuntu Raring) -- You received this bug notification because you are a member of Ubuntu SDK bug tracking, which is subscribed to ubuntu-ui-toolkit in Ubuntu. https://bugs.launchpad.net/bugs/1176132
Title: [i18n] Set up the translation domain automatically Status in Ubuntu UI Toolkit: Fix Released Status in “ubuntu-ui-toolkit” package in Ubuntu: Fix Released Bug description: In order to be able to load the right translations when an application is launched, the translation domain needs to be specified. This tells the translation machinery where to load the translations from, i.e. /usr/share/locale/ca/LC_MESSAGES/$DOMAIN.mo In the SDK this is done by setting i18n.domain, which needs to be explicitly set e.g. in Component.onCompleted for MainView. After a conversation with timp and JP we decided to link the translation domain with applicationName in MainView. The reasons being: - We want to make it transparent for developers to initialize translations - This will make it easier for the script to build .pot files to generate them correctly - In 90% of the cases, the translation domain is the same as the application name In summary, the idea is that MainView reads applicationName and uses it to set i18n.domain. It should still be possible for the app developer to override this by explicitly setting i18n.domain in their app To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1176132/+subscriptions -- Mailing list: https://launchpad.net/~ubuntu-sdk-bugs Post to : [email protected] Unsubscribe : https://launchpad.net/~ubuntu-sdk-bugs More help : https://help.launchpad.net/ListHelp

