Is main menu real Unicode?

English support forum

Moderators: Hacker, petermad, Stefan2, white

yeskky
Member
Member
Posts: 177
Joined: 2007-03-01, 05:32 UTC
Location: Jiang Su,China

Is main menu real Unicode?

Post by *yeskky »

In history.txt I read
31.10.08 Added: Unicode support in main menu
31.10.08 Added: Start to add Unicode support everywhere, e.g. to use Russian language version on German Windows
I'm using Japanese Windows and I want to use Chinese language in TC.
I tried Chinese menu and language files,but it shows messy code in option dialog and menu.
How can I use Chinese language in Japanese Windows?
yeskky
Member
Member
Posts: 177
Joined: 2007-03-01, 05:32 UTC
Location: Jiang Su,China

Post by *yeskky »

I found the solusion myself.
Just add one line
codepage=936
in the begin of wcmd_xxx.lng file.
#222405 Single user licence
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50889
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Indeed most new translations versions aren't available yet. You can use the above trick, but some strings will appear in English then. Btw, you can find out the codepage number by viewing the language file in Lister and choosing the correct encoding from the menu.

I'm adding incoming translations to the following list:
https://plugins.ghisler.com/lang750/

Chinese (Main Land) will be available very soon, I'm in contact with the translator and he has sent me already a translation.
Author of Total Commander
https://www.ghisler.com
yeskky
Member
Member
Posts: 177
Joined: 2007-03-01, 05:32 UTC
Location: Jiang Su,China

Post by *yeskky »

Do you mean that now the user interface isn't full unicode yet and after you finish it the UI will get nothing to do with the language file's codepage?
#222405 Single user licence
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50889
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

The user interface is fully Unicode when the loaded language has different codepage than the user's default code page. When the codepage is the same, TC will use Ansi controls in many places because Unicode isn't needed in these cases.
Author of Total Commander
https://www.ghisler.com
yeskky
Member
Member
Posts: 177
Joined: 2007-03-01, 05:32 UTC
Location: Jiang Su,China

Post by *yeskky »

There's still messy code on tabstop header.
"文件名 \n 扩展名 \n 大小 \n 日期时间 \n 属性"
which means "Name\nExt\nSize\nDate\nAttr".
I added a space string before and after "\n" otherwise they will display in the same column like this picture http://picasaweb.google.com/lh/photo/SteuVdEj-zqCBktuFRBDFg?feat=directlink on tabstop header in Japanese Windows.

After adding a space string before and after "\n" the layout of the tabstop header is OK but still a few messy code: http://picasaweb.google.com/lh/photo/fswbOe_aw-wn1RPaBhZOPg?feat=directlink which should be 文件名|扩展名|大小|日期时间|属性

Is it a bug of Unicode function?
Last edited by yeskky on 2009-04-21, 03:08 UTC, edited 2 times in total.
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Not found…

Post by *Clo »

2yeskky

:) Hi !

• Your links don't work (both) with IE6¦Maxthon I get a "Not found…" Goggle error message :|
Work in Opera, though…

:mrgreen: KR
Claude
Clo
Last edited by Clo on 2009-04-21, 03:18 UTC, edited 1 time in total.
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
yeskky
Member
Member
Posts: 177
Joined: 2007-03-01, 05:32 UTC
Location: Jiang Su,China

Post by *yeskky »

2Clo
Sorry,I've fixed it.
#222405 Single user licence
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Post by *Clo »

2yeskky

• Thank you ! It's OK now !

:mrgreen: KR
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50889
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I will try to find out what goes wrong with Japanese, thanks for your screenshots.
Author of Total Commander
https://www.ghisler.com
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

RTL !

Post by *Clo »

2ghisler(Author)

:) Good evening,

• Just a record :  Japanese is written from right to left <— :roll:

:mrgreen: VG
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

2Clo
You're not completely right.

Japanese has two directions types for writing:

- yokogaki - which is the same as English:

Code: Select all

123
---
456
---
789
- tategaki - columns from right to left with letters from top to bottom:

Code: Select all

7|4|1
8|5|2
9|6|3
Columns headers should work with first style IMHO.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
yeskky
Member
Member
Posts: 177
Joined: 2007-03-01, 05:32 UTC
Location: Jiang Su,China

Post by *yeskky »

Very strange!After some time the messy code turns to normal Chinese character! I don't know how it happened!
#222405 Single user licence
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50889
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

2yeskky

It is indeed a bug which will be fixed in public beta 2. Thanks for reporting it!

Please let me know if you find any similar bugs in other parts of the program.
Author of Total Commander
https://www.ghisler.com
yeskky
Member
Member
Posts: 177
Joined: 2007-03-01, 05:32 UTC
Location: Jiang Su,China

Post by *yeskky »

Not found yet in other part now.
If any,I will report them.
#222405 Single user licence
Post Reply