Comment 15 for bug 644215

Revision history for this message
Neil J. Patel (njpatel) wrote :

>> We should have the translations integrated at build time,

>Generally .desktop translations load translations from the language
>packs at runtime from the mo files (unity.mo in this case). Maybe
>the .place files are missing the X-Ubuntu-Gettext-Domain key?

>https://wiki.ubuntu.com/UbuntuDevelopment/Internationalisation/Packaging#DesktopEntries

>The other thing I've noticed, though, is that the "Applications" and
>"Files & Folders" messages do not get extracted by intltool and merged
>into the .pot template, so that's also something to take into account.
>They are not exposed for translations in the first place.

Right, that's because they need to be translated in unity-place-applications and unity-place-files ("Files & Folders" exists in unity.pot due to another part of the program, not the part dealing in loading the dynamic places).

Hence, we need to somehow get the .places file that each of these packages installs to be translated. It seems like if we added "X-Ubuntu-Gettext-Domain=unity-place-files" (and -place-applications for the other one), we might actually get this to work?

@kamstrup, can you have a go please?