Al 22/07/13 10:25, En/na Dariusz Gadomski ha escrit:
> Ok, thanks. I will try to prepare a generic solution for both apps and setup i18n in rssreader to be able to test the solution.
>
Sounds excellent, thanks Dariusz!
Essentially, what's needed to set up i18n for testing purposes is to add
this file adapted to the rss reader:
With it, you can run the 'make pot' rule on the command line to generate
the ubuntu-rss-reader-app.pot file. Generally, then the file is
committed and Launchpad takes care of exposing it to translators and to
create the .po files automatically, but for testing purposes you can
create a .po file manually from the .pot file.
There are two other steps required for translations to be loaded:
- Internationalization of the .desktop file adding the
X-Ubuntu-Gettext-Domain key [1]
- Set up the Debian package to build and install the translation
files [2]
But for manual, local testing you might not need these two.
Al 22/07/13 10:25, En/na Dariusz Gadomski ha escrit:
> Ok, thanks. I will try to prepare a generic solution for both apps and setup i18n in rssreader to be able to test the solution.
>
Sounds excellent, thanks Dariusz!
Essentially, what's needed to set up i18n for testing purposes is to add
this file adapted to the rss reader:
http:// bazaar. launchpad. net/~ubuntu- weather- dev/ubuntu- weather- app/trunk/ view/head: /po/po. pro
With it, you can run the 'make pot' rule on the command line to generate rss-reader- app.pot file. Generally, then the file is
the ubuntu-
committed and Launchpad takes care of exposing it to translators and to
create the .po files automatically, but for testing purposes you can
create a .po file manually from the .pot file.
There are two other steps required for translations to be loaded:
- Internationaliz ation of the .desktop file adding the Gettext- Domain key [1]
X-Ubuntu-
- Set up the Debian package to build and install the translation
files [2]
But for manual, local testing you might not need these two.
[1] bazaar. launchpad. net/~ubuntu- weather- dev/ubuntu- weather- app/trunk/ view/head: /ubuntu- weather- app.desktop# L11 bazaar. launchpad. net/~ubuntu- weather- dev/ubuntu- weather- app/trunk/ view/head: /debian/ rules#L10
http://
[2]
http://