Hello!
Here are the french ks for localized LiveCD spins.
The current problem with adding dictionaries and man-pages is
that they are disabled in the included ks.
(-man-pages-* etc )
So I expect it would be easier to have an "international - offical" ks
that would allow us to add this kind of packages; without having theses
packages removed first.
Or the other way would be to have a +man-pages-fr to override the
removal directive.
The %__install_lang_macro seems really interesting for localization
works. It will save around 200Mo from a liveCD/USB spin. and will make
the KDE Live spin ... a "potential" LiveCD spin.
Everything is already available from Fedora. The packages just need to
use the %find_lang macro from the spec file. Only cups and
NetworkManager-openvpn (for what i've noticed) doesn't seems compatible
and will install all langs...
Cups will probably not been fixed.
https://bugzilla.redhat.com/show_bug.cgi?id=448549
Network-Manager-openvpn
https://bugzilla.redhat.com/show_bug.cgi?id=448551
The testing LiveCD french spins are here
(with additionals packages ).
http://rpms.kwizart.net/fedora/9/ISO/
and the ks used to generated them:
http://rpms.kwizart.net/fedora/9/ISO/ks/livecd-fedora-9-french-20080604-ks.…
Nicolas Chauvet (kwizart)
%include livecd-fedora-9-desktop.ks
# change some system configurations
# System keyboard
keyboard fr-latin9
# System language
lang fr_FR.UTF-8
# System timezone
timezone Europe/Paris
%packages
# Localized dictionaries and man-pages
hunspell-fr
aspell-fr
man-pages-fr
#Support for your language
@french-support
%end
%pre
# Only install the minimal langs
mkdir -p /etc/rpm
echo "%_install_langs en:fr:fr_FR:fr-FR" > /etc/rpm/macros.lang
%end
%post
# Localized keyboard map
echo fr-latin9 > /etc/X11/Xkbmap
# Localized system timezone
cp -p /usr/share/zoneinfo/Europe/Paris /etc/localtime
# Localized default firefox dictionary
echo "pref(\"spellchecker.dictionary\", \"fr_FR\");" >> \
/usr/lib/firefox-3.0b5/defaults/preferences/all-redhat.js
sed -i -e 's/en-US/fr-FR/g' \
/usr/lib/firefox-3.0b5/defaults/preferences/firefox-l10n.js
%end
%post --nochroot
# Overwrite for a localized README
cp -pR $INSTALL_ROOT/usr/share/doc/HTML/readme-live-image/fr/readme-live-image-fr.txt $LIVE_ROOT/README
%end
%include livecd-fedora-9-kde.ks
# change some system configurations
# System keyboard
keyboard fr-latin9
# System language
lang fr_FR.UTF-8
# System timezone
timezone Europe/Paris
%packages
# Localized dictionaries and man-pages
hunspell-fr
aspell-fr
man-pages-fr
#Support for your language
@french-support
%end
%pre
# Only install the minimal langs
mkdir -p /etc/rpm
echo "%_install_langs en:fr:fr_FR:fr-FR" > /etc/rpm/macros.lang
%end
%post
# Localized keyboard map
echo fr-latin9 > /etc/X11/Xkbmap
# Localized system timezone
cp -p /usr/share/zoneinfo/Europe/Paris /etc/localtime
%end
%post --nochroot
# Overwrite for a localized README
cp -pR $INSTALL_ROOT/usr/share/doc/HTML/readme-live-image/fr/readme-live-image-fr.txt $LIVE_ROOT/README
%end