[TYPO3] Translating Indexed Search using typoscript

Dylan Wyn Jones dwj at llgc.org.uk
Thu Mar 15 11:43:03 CET 2007


Thank you so much for the help, it works perfectly now.

In the future I am going to be looking to create local translation of 
extensions, but don't have enough time to look into it at  the moment.

Thanks again

Dylan

Peter Klein wrote:
> Hi Dylan.
> You can specify multiple lines of text by enclosing it in "( )" brackets 
> (remember to leave out the "=" sign.)
> Something like this:
>
> -- cut --
>  rules_text (
>  Dim ond geiriau gyda 2 neu fwy o lythrennau a dderbynnir.
>  Uchafswm o 200 llythyren.
>  Defnyddir gofod i rannu geiriau, gellir defnyddio "" i
>  chwilio am linyn (na fydd yn ymchwiliad wedi ei fynegeio).
> )
> -- cut --
>
> Im not sure if you can have another set of "( )" brackets inside the main 
> ones, like you do..
>
> BTW: Another option is to create a local translation of the extension. For 
> that you could use either:
> LFEditor. http://typo3.org/extensions/repository/view/lfeditor/2.5.0/
> or
> llxmltranslate: 
> http://typo3.org/extensions/repository/view/llxmltranslate/2.2.0/
>
> --
> Peter Klein / Umloud Untd.
>
>
> "Dylan Wyn Jones" <dwj at llgc.org.uk> wrote in message 
> news:mailman.71303.1173800414.21067.typo3-english at lists.netfielders.de...
>   
>> Hello,
>>
>> I'm in the middle of translating the Indexed Search extension from English 
>> to Welsh by overriding the locallang xml file using typoscript.
>>
>> [globalVar = GP:L = 1]
>> config.sys_language_uid = 1
>> config.language = cy
>>
>> plugin.tx_indexedsearch._LOCAL_LANG.cy {
>> submit_button_label = My new word for search
>> opt_type_0 = Gair pendant
>> ...
>> }
>>
>> [global]
>>
>> Which has worked except for the replacement of the rules which are split 
>> over multi-lines e.g.
>>
>> Only words with 2 or more characters are accepted
>> Max 200 chars total
>> Space is used to split words, "" can be used to search for a whole string 
>> (not indexed search then)
>>
>> I first tried (but kind of knew that it wouldn't work)
>> rules_text = Dim ond geiriau gyda 2 neu fwy o lythrennau a dderbynnir.
>> Uchafswm o 200 llythyren.
>> Defnyddir gofod i rannu geiriau, gellir defnyddio &quot;&quot; i chwilio 
>> am linyn (na fydd yn ymchwiliad wedi ei fynegeio).
>>
>> It does work if I put everything on one line, but it looks a mess and it's 
>> a bit too hard to read.
>> Is there a way of specifying a carriage return of some sort? (I've also 
>> tried straight HTML, but this doesn't work either)
>>
>> Thanks,
>>
>> Dylan 
>>     
>
>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>   


More information about the TYPO3-english mailing list