Fwd: [Ubuntu-translations-coordinators] translation templates for userconfig in Kamic

Yuriy Kozlov yuriy-kozlov at kubuntu.org
Mon Oct 5 13:44:25 BST 2009

Sounds like this needs source and packaging changes, but I'm pretty
clueless on i18n other than wrapping strings with i18n() and co.  (is
that even still right for python?)  I'm going to read that wiki page,
but meanwhile, hints/pointers?

~ Yuriy

---------- Forwarded message ----------
From: Adi Roiban <adi at roiban.ro>
Date: Mon, Oct 5, 2009 at 6:31 AM
Subject: Re: [Ubuntu-translations-coordinators] translation templates
for userconfig in Kamic
To: Yuriy Kozlov <yuriy-kozlov at kubuntu.org>
Cc: ubuntu-translations-coordinators at lists.launchpad.net

În data de Du, 04-10-2009 la 10:28 -0400, Yuriy Kozlov a scris:
> Hello,
> I'm the developer of the KDE userconfig application for Karmic.  I
> noticed that templates for translations are not available on
> Launchpad:
> https://translations.launchpad.net/ubuntu/karmic/+source/userconfig
> What can we do about this?

Looking at the uncompressed userconfig source package I can not find any
POT translation templates, as they are generated during the build
I don't know to many details about how translations are extracted from
the source package. If you ship the required  desktop_userconfig.pot
userconfig.pot in the po folder of the source package, and not generate
then at build time, they will be picked up by the import script and
translations will be available in Rosetta.

You also need the po folder to store the upstream translations.

In the current build procees the userconfig.desktop is not rebuild from
the desktop_userconfig.pot and rather just copied from the source
location. Also the required .mo files are not generated.

I can see that you are importing the python locale module, but I can not
find the place where you define the translation domain.

I am not an CMake expert but the build rules should also include some
instructions for installing the .mo or .gmo files to $(LOCALE_DIR).

I know David started a i18n guide for Ubuntu developers, maybe this can
help you:

Feel free to contact us on #ubuntu-translators IRC channel.


Adi Roiban

More information about the kubuntu-devel mailing list