Java Desktop System Release 2 Troubleshooting Guide

Chapter 4 Localization Issues on Linux Systems

This chapter describes localization issues in the Java Desktop System Release 2 on Linux systems.

4.1 All Locales

4.1.1 ATOK X AUX Functions Do Not Work

Problem  

In this release, ATOK X input method AUX functions do not work. This problem affects the following ATOK X AUX functions: 

  • AtokPaletteAux

  • SystemLineAux

  • CharPaletteAux

  • PropertyAux

  • CustomizerAux

  • RegWordAux

  • DicUTAux

Solution  

Do not use ATOK X AUX functions. If you want to enable ATOK X AUX functions in Japanese locales only, perform the following procedure to replace the RPMs. If you implement this change, all input methods other than ATOK X become unusable in all language environments. 

  1. Choose Failsafe Terminal in the login screen menu, then log in as root user.

  2. Execute the following commands to stop the IIIM and ATOK X daemons:

    # sh /etc/init.d/atokx stop

    # sh /etc/init.d/IIim stop

  3. Remove the following RPMs:

    • iiimf-csconv

    • iiimf-protocol-lib

    • iiimf-protocol-lib-devel

    • iiimf-client-lib

    • iiimf-client-lib-devel

    • iiimf-x

    • iiimf-gtk

    • iiimf-server

    • iiimf-le-Asian-koKR-sun

    • iiimf-le-Asian-thTH-sun

    • iiimf-le-Asian-zhCN-sun

    • iiimf-le-Asian-zhHK-sun

    • iiimf-le-Asian-zhTW-sun

    • iiimf-le-unit

    • iiimf-docs

    Example:

    #rpm -e 'rpm -q -a | grep iiimf'

  4. Install the following RPMs located at /usr/lib/im/locale/ja/atokserver/rpm:

    iiimf-1.2-3JDS4.i586.rpm

    iiimf_conv-1-2JDS4.i586.rpm

    Example:

    # rpm -ihv /usr/lib/im/locale/ja/atokserver/rpm/*.rpm

  5. Execute the following commands to change the symbolic link to atok12aux.so:

    1. # cd /usr/lib/im/locale/ja/atokserver

    2. # rm atok12aux.so

    3. # ln -s atok12aux-iiimf10.so atok12aux.so

  6. Use the following commands to start the IIIM and ATOK X daemons, or reboot the system:

    1. # sh /etc/init.d/IIim start

    2. # sh /etc/init.d/atokx start

 

To revert to the original configuration, perform the following procedure to replace the RPMs: 

  1. Choose Failsafe Terminal in the login screen menu, then log in as root user.

  2. Execute the following commands to stop the IIIM and ATOK X daemons:

    # sh /etc/init.d/atokx stop

    # sh /etc/init.d/IIim stop

    Remove the following RPMs: iiimf, iiimf_conv

    Example: # rpm -e rmp -q -a| grep iiimf

  3. Install the following RPMs from the installation media:

    • iiimf-csconv

    • iiimf-protocol-lib

    • iiimf-protocol-lib-devel

    • iiimf-client-lib

    • iiimf-client-lib-devel

    • iiimf-x

    • iiimf-gtk

    • iiimf-server

    • iiimf-le-Asian-koKR-sun

    • iiimf-le-Asian-thTH-sun

    • iiimf-le-Asian-zhCN-sun

    • iiimf-le-Asian-zhHK-sun

    • iiimf-le-Asian-zhTW-sun

    • iiimf-le-unit

    • iiimf-docs

    Example:

    1. Enter the following command from the command line: yast2

    2. Select Insall or Remove Software.

    3. Select Search from the Filter drop-down list.

    4. Enter the following string in the Search field: iiimf

    5. Click Search.

    6. Select the iiimf packages from the list and click Accept.

  4. Execute the following commands to change the symbolic link to atok12aux.so:

    1. # cd /usr/lib/im/locale/ja/atokserver

    2. # rm atok12aux.so

    3. # ln -s atok12aux-iiimf11.so atok12aux.so

  5. Use the following commands to start the IIIM and ATOK X daemons, or reboot the system:

    1. # sh /etc/init.d/IIim start

    2. # sh /etc/init.d/atokx start

4.1.2 PDF Printing Does Not Work

Problem  

Bug ID: 4928658 

Affects the following locales: 

  • Asian locales

  • Polish locales

  • Russian locales

You cannot use GNOME applications to create PDF documents that contain multibyte characters. This problem affects Gedit and other GNOME applications that use the libgnomeprint library.

Solution  

Print your files to postscript, and then use the ps2pdf utility to convert the postscript file into a PDF file.

4.1.3 Legacy Languages Do Not Appear on the Login Screen

Problem  

Bug ID: 4884887 

Legacy languages have been removed from the login screen. The only languages that appear on the login screen are as follows: 

  • French

  • German

  • Italian

  • Japanese

  • Korean

  • Spanish

  • Swedish

  • Traditional Chinese

Solution  

If you want to have the legacy locales on your login screen, then ask your system administrator to uncomment the entries for the locales in the following file: /etc/X11/gdm/locale.alias

Your system administrator then needs to reboot your system. The legacy locales should then appear in the login screen. 

4.1.4 Cannot Display Localized Filenames And Directory Names

Problem  

Bug ID: 4961948 

Affects all locales. 

If a Windows partition exists on the hard disk, the installer automatically mounts the partition during installation, and sets the iocharset option or the nls option in the /etc/fstab file to iso-8859–1. This is not the correct value of the iocharset option or the nls option. As a result, the system cannot display localized files or directory names.

Solution  

You need to assign a correct value for the iocharset option or the nls option in the /etc/fstab file for the current locale. Use the values in the following table.

Examples of /etc/fstab file content for the iocharset option and nls option:

  • /dev/sda1 /windows/C ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0

  • /dev/sda2 /windows/C vfat users,gid=users,umask=0002,iocharset=utf8,codepage=932

Locale 

ntfs 

vfat 

ja_JP.UTF-8 

nls=utf8

iocharset=utf8,codepage=932

ko_KR.UTF-8 

nls=utf8

iocharset=utf8,codepage=949

zh_CN.gb18030 

nls=gb2312*

iocharset=gb2312,codepage=936*

zh_TW.big5 

nls=big5*

iocharset=big5,codepage=950*

zh_HK.big5hkscs 

nls=big5*

iocharset=big5,codepage=950*

en_US.UTF-8 

de_DE.UTF-8 

es_ES.UTF-8 

fr_FR.UTF-8 

it_IT.UTF-8 

sv_SE.UTF-8 

nls=utf8

iocharset=utf8

*Change big5 and gb2312 to utf8 if a Chinese UTF-8 locale is used.

4.1.5 Modifier Keys Do Not Function Correctly

Problem  

Bug ID: 4996542 

The Alt key and Shift key might not function as modifier keys when you use the Internet/Intranet input method. The following problems are known:

  • You might not be able to make a selection in a text using the Shift+arrow key combination. Latin characters might be inserted instead.

Solution  

Use a different input method, for example Default. To switch input methods, right-click on an object and select Input method.

4.1.6 Strings Are Rendered Incorrectly

Problem  

Bug ID: 4985397, 4980153, 4989628, 4985397, 5028177, 5028408 

On some graphic adaptors, some strings might be rendered incorrectly in the post-installation stage of the Java Desktop System installation. This usually happens when you configure hardware devices such as sound cards, network cards or printers.

Solution  

This problem only occurs during the installation of the Java Desktop System. You can easily configure hardware devices using the YaST2 application after the installation process finishes. To fix this problem, complete the installation process, then log in as root user and customize the necessary hardware settings.

4.2 Chinese Locales

4.2.1 Characters Print With a Box

Problem  

Bug ID: 4977300 

Affects the following locales: 

  • Chinese locales

  • Korean locales

Characters printed out from Mozilla to a postscript file are printed with a box. This is because the postscript printer does not bundle Chinese or Korean fonts. CUPS needs to convert the Mozilla postscript fonts before the file can be printed.

Solution  

  1. Choose LaunchPreferencesPrinters.

  2. Right-click the PostScript printer icon, then select the Properties menu.

  3. Open the Advanced tab.

  4. Set the Ghostscript pre-filtering to Convert to PS level 1.

4.2.2 YaST2 Is Not Localized in HK Locales

Problem  

Bug ID: 5005385 

Affects the following locales: 

  • zh_HK.big5hkscs

  • zh_HK.UTF-8

When you log into the affected locales, the YaST2 application is not localized.

Solution  

The YaST2 messages for the zh_HK locales are the same as those for the zh_TW locales. Perform the following steps to create a symbolic link from the zh_HK locale to the zh_TW locale:

  1. cd /usr/share/YaST2/locale/

  2. ln -s zh_TW zh_HK

4.3 Japanese Locales

4.3.1 Cannot Read Evolution Attachments

Problem  

Bug ID: 5021121 

Affects the following locales: 

  • Asian locales

  • Japanese locales

When you write email with Evolution on non-UTF-8 locales, and attach files with localized content, the mailer cannot apply the correct encoding to the file. The recipient of the mail cannot read the attachment correctly.

Solution  

Save the attachment as a file and ensure that the file has the correct encoding.