122.1.2
by David Planella
Moved translations-related info to a separate README file |
1 |
# Updating translations
|
2 |
||
3 |
Translations for the Calendar app happen in [Launchpad Translations][] and |
|
4 |
are automatically committed daily on the trunk branch in the po/ folder. |
|
5 |
||
6 |
They are then built and installed as part of the package build, so that |
|
7 |
developers don't really need to worry about them. |
|
8 |
||
9 |
However, there is one task that needs to be taken care of: exposing new |
|
10 |
translatable messages to translators. So whenever you add new translatable |
|
11 |
messages in the code, make sure to follow these steps: |
|
12 |
||
13 |
1. Change directory to the po/ folder: `cd po` |
|
14 |
2. Update the translations template: `qmake && make pot` |
|
15 |
3. Commit the generated .pot file: `bzr commit -m"Updated translation template"` |
|
16 |
4. Push the branch and send a merge proposal as usual |
|
17 |
||
18 |
And that's it, once the branch lands Launchpad should take care of all the rest! |
|
19 |
||
20 |
[Launchpad Translations]: https://translations.launchpad.net/ubuntu-calendar-app |