rule-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Ingo Lantschner
Subject: [RULE] i18n (was Abiword 1.0.4 on rulified system does not find dictionary)
Date: Wed, 03 Sep 2003 20:44:24 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624

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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]