maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Adding extra languages into Welcome screen (https://talk.maemo.org/showthread.php?t=81848)

pali 2012-01-24 19:23

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.

--

This is cross post, orignal message was sent to maemo-developers mailinglist: http://maemo.org/community/maemo-dev...elcome_screen/

I think this is usefull info also for people not subscribed to mailinglists, so creating thread here. Welcome screen application has name osso_startup_wizzard


All times are GMT. The time now is 12:07.

vBulletin® Version 3.8.8