1
### PREPARE DESKTOP FILES FOR TRANSLATIONS
2
1.) Copy the application.desktop to application.desktop.in
3
2.) Create the po/ directory
4
3.) Create po/POTFILES.in and add the applications .in files you want to translate
5
4.) From the po/ directory enter the following command:
6
intltool-update --pot --gettext-package=application_name
7
5.) File ready for translations
10
### AFTER RECEIVING TRANSLATED FILES
11
1.) Copy the application.pot file to the country_code.po (ie. cp application.pot sv.po)
12
2.) Merge the translation back into the desktop file by typing the following command:
13
intltool-merge /path/to/po application.desktop.in application.desktop
17
### COMMANDS TO CREATE THE FILES NECESSARY FOR KUBUNTU DESKTOP TRANSLATIONS
18
cd trunk/kubuntu/khelpdesktop/kubuntu
19
cp systemdocs.desktop systemdocs.desktop.in
20
cp .directory systemdocs.directory.in
21
###### once you copied the files, edit the .in files and add a _ before the line you want to translate
23
echo systemdocs.desktop.in > POTFILES.in
24
echo .directory.in >> POTFILES.in
25
intltool-update --pot --gettext-package=systemdocs