[Typo3] translation in extension's locallang utf-8

tding at 1688.com tding at 1688.com
Mon Oct 24 10:05:31 CEST 2005


>almost there, example:
>plugin.tx_srfeuserregister_pi1._LOCAL_LANG.default.www= Your website:

>Note the underscore (_) before _LOCAL_LANG

>Also, you don't need to delete anything in the localang.php file, you
>basicly overwrite any lanhuage settings.
>Single TS file means, just a TypoScript file you inlude.

>Here is how you can include it from you TS template found in the root of
>your website:

><INCLUDE_TYPOSCRIPT: source="FILE: fileadmin/<filename>">


>Ries

Woohoo... thanks to everyone the problem solved. !!

hopefully what i did here is correct, otherwise can someone comment?

Change default language of the website from english to chinese (the default language was english so no matter which chinese charset entered returned as junk characters), add language to page that contains the extension (this is to tell plugin to use CN value in extension's locallang?) 

config.linkVars=L
config.sys_language_uid = 0
config.language = cn
config.locale_all = chinese
page.config.language = cn
plugin.tx_srfeuserregister_pi1._LOCAL_LANG.cn.username = some text in chinese
plugin.tx_srfeuserregister_pi1._LOCAL_LANG.cn.password = some text in chinese

best regards,
Timding


More information about the TYPO3-english mailing list