[TYPO3] asian language problem

Peter Russ peter.russ at 4many.net
Wed Jan 25 11:52:05 CET 2006


Tric Bluewin schrieb:
> Hi, 
> 
> I have to creat a website in differents languages, including japanese and chinese.
> 
> Now I have several problems. 
> 
> 1. ) Chinese: Menus and Text are shown correctly, but not the titles. Somebody told be to unistall CSS styled content EXT, which i did and the titles where shown correctly, but the layout was messed up..so i need to keep CSS style content: example link: http://lemo.travelog.ch/index.php?id=146
>       Japanese: big mess ;-(: Link: http://lemo.travelog.ch/index.php?id=98
> 
> 2. ) I'm using the  ext Language Selection (sr_language_menu), but in the drop down list chinese and japanese are blank. Here's the url of the page: http://lemo.travelog.ch/index.php?id=7&L=2 
> 
> And here's how i've set up the Typo3 Setup for languages:
> 
> ###### SPRACHE ###############
> 
> 
> # SprachVariable L initialisieren 
> #config.linkVars = L 
> 
> # English, sys_language.uid = English
> 
> 
> # Defaultsprache 0 -> English
> [globalVar = GP:L =0] 
> config.sys_language_uid = 0
> config.language = en
> config.locale_all = english
> }
> 
> # Standardsprache 0 -> Français
> [globalVar = GP:L = 1] 
> config.sys_language_uid = 1
> config.language = fr
> config.locale_all = fr_FR
> 
> -- Powerbutton in Français--
> temp.POWERBUTTON.source = 186
> 
> # Standardsprache UID 2 -> Deutsch
> [globalVar = GP:L = 2] 
> config.sys_language_uid = 2
> config.language = de
> config.locale_all = de_DE
> 
> -- Powerbutton in Deutsch--
> temp.POWERBUTTON.source = 185
> 
> # Standardsprache UID 3 -> Chinese
> [globalVar = GP:L = 3]
> config.sys_language_uid = 3
> config.language = ch
> #config.language = EUC-CN 
> config.metaCharset=utf-8
> #config.metaCharset=big5
> 
> -- Powerbutton in Chinese --
> temp.POWERBUTTON.source = 181
> 
> # Standardsprache UID 4 -> Japanese
> [globalVar = GP:L = 4] 
> config.sys_language_uid = 4
> config.language = jp
> config.locale_all = jp_JP
> config.metaCharset =  iso-2022-jp
> 
> -- Powerbutton in Japanese--
> temp.POWERBUTTON.source = 187
> 
> # Standardsprache UID 5 -> Espagnol
> [globalVar = GP:L = 5] 
> config.sys_language_uid = 5
> config.language = es
> config.locale_all = es_ES
> 
> -- Powerbutton in Espagnol--
> temp.POWERBUTTON.source = 188
> 
> [global]
> 
> ##########################################
> 
> 
> 
> Unfortunately i don't know much about languages, char sets, utf8 etc....so I someone could help me it would be really really thankful.
> 
> Thx
> 
> Patric

Hallo Patric,

1) is your BE setup correctly to UTF-8?
2) You should set the encoding for the page to utf-8 instead of iso-8859-1
3) Depending on your PHP version you might also need to fix the encoding 
of PHP within php.ini
4) Depending on your OS the config.local_all might have a different 
name, e.g. de_DE at euro
5) How does your DB encode the data?

Regs. Peter.

-- 
_____________________________
4Many® Services
openBC: http://www.openbc.com/go/invuid/Peter_Russ



More information about the TYPO3-english mailing list