Deprecated: Assigning the return value of new by reference is deprecated in /var/www/wiki/wacka.php on line 94

Deprecated: Function set_magic_quotes_runtime() is deprecated in /var/www/wiki/wacka.php on line 662

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /var/www/wiki/wacka.php:94) in /var/www/wiki/wacka.php on line 744

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /var/www/wiki/wacka.php:94) in /var/www/wiki/wacka.php on line 744
SpbLinuxWiki : SpbInternationalization

SpbLinuxWiki : SpbInternationalization

SpbWikiHome :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings :: You are ec2-54-234-231-49.compute-1.amazonaws.com
some instructions...

1) console keymap
files inside init6.gz (modified with changegz)

/etc/keys/keymap.xy (to be created with dumpkmap
using an existing localized linux installation,
activated with spblinux parameter keys=xy)


2) X keymap
files inside x_dfb.bz2 (modified with changebz2)
Xmodmap.xy_XY and a symlink to it from
/usr/X11R6/lib/X11/xinit/.Xmodmap
(not yet controlled by spblinux parameter keys=xy,
planned for version 2.1b12); the Gnome Desktop (/usr/share/xmodmap) is a source for localized xmodmap files.

The information how to get Turkish locale :
(Ercan Ozkan Mersin Universitesi Bilgi islem Daire Baskani /Mersin/TURKEY)
modifications for x_base.bz2:
mount /boot
changebz2 /boot/spblinux/x/x_base.bz2
1)edit /etc/X11/xinit file
change line--> export LANG=en_US to export LANG=tr_TR
and add a new line export LC_ALL=tr_TR
2)change default fonts alias by editing /usr/X11R6/lib/X11/fonts/fonts.alias file:
change all ISO8859-1 to ISO8859-9
3)add /usr/X11R6/lib/locale/iso8859-9/tr_TR directory from your Gentoo box to /usr/X11R6/lib/locale/iso8859-9
4)add /usr/lib/locale/tr_TR/tr_TR directory from your Gentoo box to /usr/lib/locale/tr_TR
5)add usr/X11R6/bin/locale and usr/X11R6/bin/localedef files from your Gentoo box to usr/X11R6/bin/
6)add /usr/lib/gconv/IBM857.so and /usr/lib/gconv/ISO8859-9.so files from your Gentoo box to /usr/lib/gconv/

After modifications complated
umount /boot
and
reboot

If you want turkish keybord support on console you need to use lat5u-16.psf.gz instead of lat1u-16.psf.gz .
You can find this file from your Gentoo box.
Of course you want Turkish X keymap . Edit /spblinux/spbcfgX file and change "keys=tr". Spblinux uses Xmodmap.tr_TR file

P.S : "Gentoo box"= spblinux stage2 chroot environment

I guess same procedure can be applied to get other languages locales.
There are 2 comments on this page. [Display comments/form]