29 |
29 |
30 msgmerge -U locale/fr/LC_MESSAGES/pronterface.po locale/pronterface.pot |
30 msgmerge -U locale/fr/LC_MESSAGES/pronterface.po locale/pronterface.pot |
31 |
31 |
32 As currently coded, the default location for these message catalogs is |
32 As currently coded, the default location for these message catalogs is |
33 |
33 |
34 /usr/share/pronterface/locale/ |
34 /usr/share/locale/ |
35 |
35 |
36 So, to install the catalogs, copy them to there: |
36 So, to install the catalogs, copy them to there: |
37 |
37 |
38 sudo cp -a locale /usr/share/pronterface/ |
38 sudo cp -a locale /usr/share/ |
39 |
39 |
40 To test pronterface in a new language, you can temporarily set LANG to |
40 To test pronterface in a new language, you can temporarily set LANG to |
41 the language you are testing, for example |
41 the language you are testing, for example |
42 |
42 |
43 LANG=de python pronterface.py |
43 LANG=de.UTF-8 python pronterface.py |
44 |
44 |
45 Further automation for localization and packaging of Printrun would be |
45 Further automation for localization and packaging of Printrun would be |
46 nice to see, but is not here yet. |
46 nice to see, but is not here yet. |
47 |
47 |