This is an old revision of the document!
Also internationalization. Make MobileMate speak your language, there are four parts of internationalizing, they are: TinyCore tools, desktop environment, third part packages, main program.
Currently, TinyCore tools internationalizing only support UTF-8 charset and standard X11 format, you can't use truetype font, read the “info” of “fltk_projects_unicode.tcz” in the TinyCore Linux 3.x tcz packages page for detail. So you need use getlocale.tcz package in TinyCore Linux to get a UTF-8 locale, then install a X11 font, e.g., zh_CN.UTF-8 and wenquanyi_10pt.pcf for Simplified Chinese.
First, download the modified fltk_projects_unicode source file, extract the tar ball, “cd ./fltk_projects_unicode/patches
”, you will find tinycore.pot and zh_CN.po file have been patched, “cd ..; tar -xf fltk_projects.orig.tar.bz2; cd ./fltk_projects/translations
”, you will find original pot and some po files, patch the pot file now, “cat ../../patches/tinycore.pot.patch | patch -p2
”, then, based on this patched pot file and the po file of your language(if have) in the same folder, you can update the po file of your language. You must creat the po file of your language if there isn't an old one. Now, you can generate the tinycore.mo file of your language from the updated(or created) po file. Then, put the tinycore.mo file into your language locale folder when you remaster the MobileMate, e.g., put it into “usr/local/share/locale/zh_CN/LC_MESSAGES” when adding zh_CN language TinyCore tools.
蜀ICP备2021012931号-1 川公网安备51092202000377号