LINUX ONLY
First navigate to StudioAndroid directory.
Then
| >_
xgettext -k_ -kN_ -o messages.pot SA.py
msginit | |
A new file will be created (***.po)
Open that file with PoEdit and translate the right-column
When finished, save it and rename ***.po to SA.po and put it in StudioAndroid/lang/yourlang_YOURLANG/LC_MESSAGES
afterwards, compile it:
| >_
msgfmt SA.po -o yourlang_YOURLANG/LC_MESSAGES/SA.mo | |
When I update it, merge the changes using:
| >_
xgettext -k_ -kN_ -o messages.pot SA.py
msgmerge -U SA.po messages.pot | |
and translate again in PoEdit
The file I need is yourlang_YOURLANG/LC_MESSAGES/SA.mo, but it's handy for you and me if you also include yourlang_YOURLANG/LC_MESSAGES/SA.po
INFO:
All info is now available at Github:
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
Credits:
Ablankzin : Contributor to StudioAndroid
Popdog123: He took the MAC side of the project
vlt96: Making a game to play while waiting
[Only registered and activated users can see links. Click Here To Register...]
KeitlG: Compiled for windows!!!
KeitlG: Helped me testing the long-awaited ReCompile Fix!
Rookie407 : He compiled this
[Only registered and activated users can see links. Click Here To Register...]! AWESOME! You don't have to install Python and GTK anymore!!!
Lithid-CM : He was my messias on Python in general and GTK specific. Go and give him a "THANKS!"
KeitG: Gettext translation
WilliamCharles & Lycan: Windows testers - AWESOME, THANK THE GUYS!!