System Level
|
- Adding system locale files for the given language
- Character mapping
- Collation sequence
- Date time format and strings
- Money maters
- Translated messages of the applications
Usualy the
- Source is in /usr/share/i18n/LL
- Binary is in /usr/share/locale/LL
- Creating requried console fonts
- Adding locale files for X window system
- Character encoding
- The font set that supplies the given glyphs
- Creating required GUI fonts (bdf-pcf, type1, ttf...)
|
Application Level
|
- Use gettext to add internationalization in Linux apps
- Intelligently identify the strings that require to be translated
within gettext() function
- Use special functions which adapt to the currently set locale
- Run xgettext on the files to generate the pot file
- Provide translated messages for the application for the given language
- Run msgmerge to merge the new template with previous translated po file
- Run msgfmt to generate the binary mo file from the po file
- Install the mo file in respective locale directory
/usr/share/locale/LL/LC_MESSAGES/application.mo
|
User Level
|
- Set the enviornment variable LANG to Language code (LL/LL_special)
- Run the application, and viola there it is, the application in your
language
|