[RULE] i18n (was Abiword 1.0.4 on rulified system does not find dictionary)

Ingo Lantschner ingo.lists at vum.at
Wed Sep 3 21:44:24 EEST 2003


Hi!
First thanks for the advice with aspell - I just installed aspell and 
the french dictionary and it works w/o any problem - just fine!

After we have now sent Hansi to Zambia with an english customized 
Slinky-ISO I am now thinking and working on a french version. This is 
not so easy as the english one, as many defaults are not valid for french.

F.e.
o keyboardlayout --> etc/sysconfig/keyboardlayout
o LANG --> etc/systemconfig/i18n
o Menue of AbiWord and mc --> LANG
o Spellchecker for Abiword --> french-aspell-package must be installed

In order to find a solution for this, I looked into the Slinky-scripts 
and found, that it may be possible to set/install some of the above 
using the already inmplemented question for the language-support (f.e. 
en:fr:it:de).

The according part in setup.sh is:

--- snip -----

# Create /etc/sysconfig/i18n
i18n=/newroot/etc/sysconfig/i18n

cat<<EOF >> $i18n
LANG="en_US"
SUPPORTED="en_US.UTF-8:en_US:en"
SYSFONT="latarcyrheb-sun16"
EOF

# Create /etc/sysconfig/keyboard
keyboard=/newroot/etc/sysconfig/keyboard

cat<<EOF >> $keyboard
KEYBOARDTYPE="pc"
KEYTABLE="us"
EOF
--- snap ----

One problem I see is that base_install.sh, which is responsible for the 
language-question is a second-stage-script and therefor executed after 
setup.sh. So do you see any chance, to get w/o extraordinary effort, a 
Slinkyversion, which

o asks for needed languages (f.e. en, fr)
o asks for the default locale (f.e. fr_FR)
o installes all languagefiles and aspell-dictionarys for in this example 
fr and en
o sets LANG=fr_FR (in this example)
o sets the keyboardlayout to fr (in this example)

Please let me know what you think, Ingo.


P.S: An other solution would be to write an extra script for each 
locale, which is executed by the user or automatically during install 
from rulerc.sh




_______________________________________________
Rule Project HOME PAGE:  http://www.rule-project.org/en/
Rule Development Site:   http://savannah.gnu.org/projects/rule/
Rule-list at nongnu.org
http://mail.nongnu.org/mailman/listinfo/rule-list



More information about the Rule-list mailing list