It would be great if puppy can speak different languaes!
I've made a brief summary below on what has been achieved so far.
===============================================================
Kark:
A few applications can easily be made to appear in the language of your choice,
Opera:
1. Download a language-file to opera's locale dir(/usr/share/opera/locale).
2. Go to tools-preferenses and choose your language.
Abiword:
1. Download a Abiword.profile file made for your language, or copy it from some other installation.
Put it in /root/.Abisuite/
2. Download also a strings file in your language, and copy it to your strings directory.
3. Download a dictionary file and put it in dictionary dir.
more info
Firefox:
1. Download firefox in your language.
2. Unzip it and run installer: it's working
--------------------------------------------------------------------
G2:
To show documents in international fonts
(Mozilla/Firefox/Opera (and Abiword, Leafpad, Open Office, etc etc etc), put a unicode font in
/root/.fonts (get the unicode font at
http://www.ipd.uka.de/~muelle/ARIALUNI.zip
or
http://orwell.ru/download/aruniupd.exe)
Or, you can copy or symlink /mnt/home/windows/fonts to /root/.fonts,
you will have all of your Windows fonts available.
--------------------------------------------------------------------
To view web page in other languages with
Dillo 0.8.5 Patched:
puppian:
Besides adding the unicode font to /root/.fonts, you also need to:
1. Set it to use the font (Arial Unicode MS) in Dillo's option
2. Get the glibc package
here and install it (just copy files to the right location):
(this is version 2.3.2 as I now know that puppy uses 2.3.2)
...I don't know why adding that package works and don't know which files are actually responsilbe
for that. Maybe someone more knowledgeble than me can add the explanation?
G2's comment:
i just noticed that UTF-8 fonts do work with dillo in Puppy ... it is other fonts like Shift_JIS that do not work
i also noticed, that Google sends Firefox a page with UTF-8 characters, but it sends Dillo a page with Shift_JIS characters (which don't work with Dillo)
Wikipedia seems to work wih Dillo, for example
http://www.wikipedia.org/
http://www.google.com/intl/ja/
http://tinypic.com/ajlb9z.jpg
===============================================================
To add support for new locales:
A. Hacao's solution (tested in Vector 5):
I success in Vector 5 show & typing Vietnamese
1) locale to en_US.UTF-8
$ locale (show LANG=en_US)
$ su
# mcedit /etc/profile.d/lang.sh (or editor other)
- Add # (comment) before "export LANG=en_US"
- Remove # (uncomment) before "export LANG=en_US.UTF-8"
- F2 to saved , F10 to quit
# locale or $ locale (show LANG=en_US.UTF-Cool
2) make link en_US.UTF-8 to /usr/share/locale
$ su
# mkdir /usr/share/locale/en_US.UTF-8
# localedef -v -c -i en_US -f UTF-8 /usr/share/locale/en_US.UTF-8
# cd /usr/lib/locale
# ln -s /usr/share/locale/en_US.UTF-8 en_US.UTF-8
3. setup .bashrc or .bash_profile
$ mcedit /home/hacao/.bash_profile (hacao is my account)
Add three row:
export XMODIFIERS="@im=unikey"
export GTK_IM_MODULE="xim"
export LANG=en_US.UTF-8
- Press F2 to saved, F10 to quit.
- Logout or reboot PC
- Check it again:
$ echo $LANG (show en_US.UTF-8 is OK!)
$ echo $XMODIFIERS (show @im=unikey is OK !)
$ echo $GTK_IM_MODULE (show xim is OK!)
4. Setup Unikey (typing Vietnamese)
- Download from
http://unikey.sourceforge.net/linux.php
- Unpack to /home/hacao/addon
i have folder: /home/hacao/addon/x-unikey-0.9.2
$ cd /home/hacao/addon/x-unikey-0.9.2
$ ./configure
$ make
$ su
# make install
That all ! I type "unikey" in Xterm to run Vietnamese typing !
$unikey
and open a editor to enjoy ! Smile
$mcedit (or editor other)
success !
P/S: I'm not yet success with PUPPY 1.04!
--------------------------------------------------------------------
B. Kark's Solution (base on what Hacao did, tested in Puppy)
I found gcc
here, and in one of the zipfiles localedef is included:
First I copied locale no_NO from a different distro
then I opened a teminal and did:
mkdir /usr/share/locale/no_NO.ISO-8859-1
localedef -v -c -i no_NO -f ISO-8859-1 /usr/share/locale/no_NO.ISO-8859-1
cd /usr/lib/locale
ln -s /usr/share/locale/no_NO.ISO-8859-1 no_NO.ISO-8859-1
Then I changed LANG=C to LANG=no_NO.ISO-8859-1 in /etc/profile
Now I don't get any error messages about locale not being supported anymore, and jvm (java virtual machine) works like it should.
===============================================================
Keymap:
How do I add Latvian keyboard layout?
Puppy 1.0.4: German keymap is de.map; should be de-latin.map