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

Gür Yildirim yildirim2k at hotmail.com
Fri Oct 21 14:29:03 CEST 2005


Steven Bagshaw schrieb:
> Hi,
> 
> I'll be interested to read the proper answer, but because I was in a hurry
> and didn't have many to do, I just pasted my text into a content element,
> reloaded the page in the FE, viewed the source and copied and paste what the
> view source was showing. I ended up pasting into the locallang the text with
> the crazy characters and it worked OK in the end. This was for French and
> Spanish, not Chinese however.
> 
> Might be a workaround in case no one answers your question with a proper
> answer!
> 
> Steve
> 
> "Timothy Ding" <tding at 1688.com> wrote in message
> news:mailman.5709.1129843046.10463.typo3-english at lists.netfielders.de...
> 
>>Dear List,
>>
>>I am seeking guidance for steps to translate language in extension's
>>$LOCAL_LANG array value
>>
>>- website charset is set to utf-8
>>- website has only one language which is in chinese
>>- in localconf.php: $TYPO3_CONF_VARS['BE']['forceCharset'] = "utf-8";
>>
>>Content Element in chinese displays correctly but I see translation
>>problem when using locallang's values from the extensions.
>>
>>Since there's only one language, i changed fields for the default
>>values to chinese in utf-8 but browser output resulted with junk
>>characters. I also tried changing extension's locallang.php into
>>unicode which make thing worst. I am sure i did something wrong but
>>what, can someone shed some light?
>>
>>$LOCAL_LANG = Array (
>>     'default' => Array (
>>         'username' => 'chinese in utf-8:',
>>         'missing_username' => 'chinese in utf-8!',
>>         'password' => 'chinese in utf-8', ....
>>
>>the extension i am using is "sr_feuser_register" & "newloginbox"
>>beta website : http://218.206.71.235:81/testsite/index.php?id=19
>>
>>many many thanks in advance,
>>TimDing
> 
> 
> 
Well, at the moment it really looks like THERE IS NO solutions for this 
kind of trouble, it is a typo3 bug! Extensions using forms always seem 
to have troubles with auto parsing content right. In my cases I tried a 
lot and spending really much too many hours for getting my forms on 
TURKISH sites working but it is completly senseless, because just when I 
was almost done with sr_feuser registration form obviously the code 
itself started running over buffers or some like that. So for me, typo3 
has not been made for turks to use forms on their sites
:-(No guestbook, no forums)-:

Just take a look and you got me: 
http://berlin-turkish.com/index.php?id=315&tx_srfeuserregister_pi1[cmd]=create

In my case, I had to work on the templates, since typo3 seems to change 
all template markers to lower char and this breaks up the template!

All words containing character "I" MAY have to be changed in a way like 
trying to use "i", for instance: if ###LINK_THIS### doesnt work, I try 
###LiNK_THIS###, ###LINK_THiS### or ###LiNK_THiS###, which means that 
there is no sense in tryin to understand any logic in typo3 forms' 
behaviour. (...)



More information about the TYPO3-english mailing list