I have experimented a bit with the Japanese messages in CDE.Using the script below, I have converted

the .msg files and copied them to /usr/dt/lib/nls/msg/ja_JP.eucjp.


#!/bin/sh
# generates .cat files from a set of .msg files
for i in *.msg; do
LANG=ja_JP.eucjp gencat -o `basename $i .msg`.cat $i;
     # echo `basename $i .msg`.cat $i;
done
sudo cp *.cat /usr/dt/lib/nls/msg/ja_JP.eucjp

Then, I have modifed the .dtprofile by adding

xset fp+ /usr/dt/config/xfonts/ja_JP/
export LANG=ja_JP.eucjp

The result is attached. The Kanji  and Katakana characters are displayed correctly, and dtcm shows

the date in japanese. However, it is important to pass the correct LANG variable (the japanese locale  being installed)  to gencat in the script to produce  correct .cat messages.

I expect the message catalog can be similarly translated for Korean or Chinese language, but the font aliases for CDE are not present, so they may not display correctly.



_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to