Page Updated: Jan 14, 2023
Internationalization of applications and scripts in Puppy Linux has become extremely easy, with MoManager, a GUI application.
If you are writing software for Puppy and want that your application be internationalized, or if you want to create translations of Puppy in your language, please read this help page.
There are a lot of scripts in Puppy that use
export TEXTDOMAIN=myapp
MoManager finds all scripts with this entry, which confirms that it uses
Basically, MoManager will create a
NOTE: Please place the export TEXTDOMAIN=myapp
MoManager use command-line tool-
Note that MoManager only searches the directory
MoManager is a GUI application written by Barry Kauler that makes it very easy for anyone to create non-English translations for applications in Puppy. All latest Puppies will have MoManager in them, which was firstly introduced to Puppy through 'Woof' (later moved to woof-CE) on 'February 14, 2012'. If you want to use MoManager to create a 'langpack' for a particular language it is recommended to use the very latest Puppy built from latest woof-CE, which is not more than a month older. So, you may need to build your own Puppy for this process - the procedure can be found at 'Building a Puppy on GitHub' Github Wiki page.
MoManager is for creating and updating translation files for scripts, XML files, menu files, any other data text files, and binary executables.
Scripts are applications that are executable text files, usually written in
You can find MoManager in Utility menu. Once started, you will see two columns of drop-down lists, one list is of files that already have a translation file for your language (on left side), the other list is for files that do not yet have a translation file. if you select a file from the formerlist, you may update the translation, and in the latter case you may create a new translation file.
(Information on translation files can be found above.)
In the case of updating an existing translation file, MoManager automatically synchronises with the latest script, and will identify any changed strings. Check if you see the text cat path/to/translation_file.pot | grep "fuzzy"
If you see that the word
Although it is probably possible to figure out how to edit a translation file, known as a
The very basic thing to understand to begin creating a translation for your language is the use of
msgid "sometext"
(Here
msgstr "sometext"
This is a special text editor for editing
To install
You will also see in the MoManager window, a button to generate a "langpack" PET package. If you would like to translate Puppy for a particular language, this button is very nice. It will gather up all the translations you have created/modified for your language and will put them into a PET package, which you can then send to BarryK, through PuppyLinux Forum, and he may place it along with the other langpacks at ibiblio.org. See the existing langpacks at pet_packages-noarch sub-directory of PuppyLinux directory under ibiblio.org. The langpacks will be named as
Note that the langpack is accumulative. Say for example that you install
There are already maintainers for some languages. If you want to contribute to a translations for a specific language please do it through its maintainer. If there is no maintainer for the langauge you want to translate Puppy to, then you can directly contact BarryK. Note you can contact the maintainers through PuppyLinux Forum, and can even post your langpack at Internationalization sub-forum in PuppyLinux forum.
At the time of writing, these are the maintainers:
da | Danish | maans |
de | German | L18L |
el | Greek | kounelii |
es | Spanish | vicmz |
fr | French | esmourguit |
it | Italian | vicmz (temporary) |
nl | Dutch | Bert |
pl | Polish | robwoj44 |
pt | Portuguese | vicmz |
ru | Russian | rodin.s |
For more news on MoManager, visit BarryK's News Site and search for "MoManager" there.
To interact with others working on translating Puppy, including asking questions about anything that puzzles you, please post your issue at Internationalization sub-forum in PuppyLinux forum.