[maemo-developers] Adding extra languages into Welcome screen
From: Pali Rohár pali.rohar at gmail.comDate: Fri Dec 16 03:17:20 EET 2011
- Previous message: Announce: Open Source Cold Flasher for RX51
- Next message: Notification events don't produce any sound or vibration
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.com -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part. URL: <http://lists.maemo.org/pipermail/maemo-developers/attachments/20111216/326a11a5/attachment.pgp>
- Previous message: Announce: Open Source Cold Flasher for RX51
- Next message: Notification events don't produce any sound or vibration
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]