Comment 0 for bug 1052375

Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote : The g-c-c interface doesn't support i18n

the online account ui loads the plugins integration from some .application files. Those are not translated, not translatable.

What needs to be done, is:
- rename the .application in .application.in
- ensuring that upstream have an application.in files with translatable tags (using _)
- add a <translations> tag containing the upstream domain
- then, at build time:
1. running intltool-extract files.applications.in so that it's get merged into a files.applications.in.h
2. including the .h file somewhere in the build system (like POTFILES.in for python apps and Makefiles.am for C/vala apps) so that it's merged into the .pot file
3. and running intltool-merge --no-translations -x -u foo.applications.in foo.application to create the xml upstream file which is shipped
- online-account (the g-c-c plugin) should be patched to load them, looking at the <translations> tag and gettext (package, string)