Merge lp:~dpm/lernid/enable-translations into lp:lernid
Proposed by
David Planella
Status: | Merged |
---|---|
Merged at revision: | not available |
Proposed branch: | lp:~dpm/lernid/enable-translations |
Merge into: | lp:lernid |
Diff against target: |
149 lines (+41/-19) 2 files modified
bin/lernid (+8/-6) po/lernid.pot (+33/-13) |
To merge this branch: | bzr merge lp:~dpm/lernid/enable-translations |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
David Planella (community) | Needs Resubmitting | ||
Jono Bacon | Needs Fixing | ||
Review via email:
|
To post a comment you must log in.
This branch enables loading the translations in gtkBuilder. Additionally, some strings have been marked as translatable in the code and the POT template has been updated.
To test translations with an installed lernid package from the PPA in say, German (i.e. .mo files are already installed in /usr/share/locale):
LANGUAGE= de_DE.UTF- 8 lernid
(if the files are installed in /usr/share/locale, this can also be tested within the source tree, simply using 'LANGUAGE= de_DE.UTF- 8 bin/lernid')
In the future, when new translatable strings are added in the code, they will simply have to be surrounded by _() and the POT template updated (e.g. with './setup.py build_i18n') and committed for translators to see them in Launchpad.