Author Topic: Chinese Language Support (Solved)  (Read 2734 times)

brightness

  • Guest
Re: Chinese Language Support (Solved)
« Reply #15 on: October 08, 2011, 03:13:03 PM »
Thanks pinoc

I will try your instructions later today or tomorrow. Also, I found that after rebooting scim no longer works. As a result, I uninstalled it and installed fcitx. This time, after restarting it still works :)

brightness

  • Guest
Re: Chinese Language Support (Solved)
« Reply #16 on: October 08, 2011, 06:49:12 PM »
hi brightness,
nothing will happen. Your current repo seems to not have synced properly. Just run addlocale without issues on a fully updated KDE and using the repo ftp.ch.debian.org. Please open Synaptic, click on Settings -> Repositories. De-select your current repo and enable (set a tick mark to) the repo mentioned. Ensure to have only one (1) repo enabled! Then update your system. After that close Synaptic and run addlocale again. Should work.
good luck,
-p.


I have followed your instructions word by word. At the end of the addlocale process it says

Failure to retrieve some language packages.
(more details: /tmp/AL_STEP1.list).

Exiting...
::)

And the log is

oreutils-doc enca glib-gettextize glibc-i18ndata intltool libgdata-i18n perl-Text-CharWidth perl-Text-WrapI18N php-translit locales-zh fonts-ttf-droid fonts-ttf-chinese taipeifonts bg5ps zh-autoconvert zhcon scim-pinyin scim-tables-zh scim-chewing scim-bridge-gtk scim-bridge-qt4 scim-fcitx fcitx ttfprint fonts-ttf-wqy-microhei fonts-ttf-wqy-zenhei gcin-qt4 kde4-l10n-zh_TW docbook-style-xsl docbook-dtd412-xml docbook-dtd42-xml docbook-dtd43-xml docbook-dtd44-xml docbook-dtd45-xml man-pages-zh firefox-zh_TW gimp-help-zh


Anyway, thanks for your help. :)
« Last Edit: October 08, 2011, 07:30:20 PM by Texstar »

Offline Texstar

  • Administrator
  • Super Villain
  • *****
  • Posts: 12506
Re: Chinese Language Support (Solved)
« Reply #17 on: October 08, 2011, 07:50:42 PM »
You see there was a Chinese package that was accidentally dropped from the primary repository. It was added back yesterday. I just test against our primary repo and it worked fine. You need to wait until mirrors update from ibiblio.org then addlocale will work as intended.

Later

Thanks to everyone who donates. You keep the servers running.

brightness

  • Guest
Re: Chinese Language Support (Solved)
« Reply #18 on: October 09, 2011, 12:28:23 AM »
PROBLEM FINALLY SOLVED!

HIP HIP, HOORAY! HIP HIP, HOORAY! :D
NO NEED TO ADD LOCALE, NO NEED TO CHANGE SYSTEM LANGUAGE, DOLPHIN AND ALL OTHER FILE MANAGERS ARE DISPLAYING CHINESE FILE NAMES PERFECTLY!

Hi, Texstar, thank you for your attention.

But I have somehow managed to find the solution myself. To enable file managers to display Chinese file names in KDE (which many people say is impossible):

1. Install the appropriate Chinese font packages from Synaptic.

2. Add this code to the file ~/.bashrc
export LC_CTYPE=zh_TW.UTF-8

The magic is in the word UTF-8. Without this, the Chinese file names would be a bunch of strange symbols.

Also, set the default system font to Arial or another font that supports both English and Chinese (otherwise the window titles on your screen may become very "wide").

So, how did I manage to find this out? I kept googling all over the net, and I get a bit of a hint here and another bit there. After that, I worked it out myself. I have spent more than half a week to do this research, and I am soooo happy :) now because I can have a kde desktop (which has great graphics that IMHO surpass those of Windows 7) that can fulfil my everyday computing needs!

That's why my father often tells me, "Google is your best friend."

Thanks you all for your assistance. BTW, Texstar, are you the developer of the PCLOS Linux?

PS, to help many others who cannot work out how to do the trick (I have read at least 10 articles on the web that ask for help in this aspect and the final conclusion is "it is impossible"), I have started a new thread describing this issue.

Regards.
« Last Edit: October 09, 2011, 12:35:04 AM by brightness »

Offline pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2840
    • other projects...
Re: Chinese Language Support (Solved)
« Reply #19 on: October 09, 2011, 12:46:14 AM »
Hi brightness,

great to hear it worked out in the end. addlocale would have done the same and much more...  ::)
Thanks for the hint with setting the LC_TYPE environment variable to have a second language input.
regards,
-p.