
pali.rohar at gmail
Dec 15, 2011, 5:17 PM
Post #1 of 1
(114 views)
Permalink
|
|
Adding extra languages into Welcome screen
|
|
Hello, you may noticed that Maemo 5 Welcome screen (which appears after instering battery or flashing) does not show all extra installed Maemo 5 translations. Problem is because, osso_startup_wizard (Welcome screen application) read language table from library libi18n-locale-resolver0. And that libray read languages from binary file /usr/share/i18n-locale-resolver/lra_language.data (and not try to check which translations are installed) I created small shell script which can modify (add/delete) language strings (e.g en_US) to that binary file and thus Welcome screen show/hide other languages. Script is in Extras(-devel) package locale-resolver-config http://maemo.org/packages/view/locale-resolver-config/ and install file /usr/sbin/locale-resolver-config For example adding Slovak language (which is not by default in Maemo) call: $ locale-resolver-config add sk_SK and to remove $ locale-resolver-config del sk_SK Maintainers of extra Maemo 5 translations could modify their postinst/postrm scripts to call this script for adding/removing their language to/from Maemo 5 Welcome screen. -- Pali Rohár pali.rohar [at] gmail
|