[TYPO3] non enlish language for simple search.
Giannis Economou
gecon at di.uoa.gr
Sun Mar 11 09:29:07 CET 2007
Ok, found out what I should do. I'm writing the solution in case someone
else needs this.
1. First of all, better not assume than 'default' language is not
English is the future. Assume default = English. To override this for
now and make it work, I had to tell in an extension template of the
search page:
page.config.language = gr
2. After this Greek was fetched from the xml, but garbaged in browser.
The trick was: I was saving the file as utf-8. Thought that is was fine,
since the xml file clearly states encoding "utf-8" in the beginning. No.
I had to save the file as ascii (non utf-8) and afterwards it was
working right.
Regards,
Giannis
Giannis Economou wrote:
> Hello,
> I'm using the simple (non indexed) build in search. I'm interested inhaving it avail in Greek.
> I've tried to put some Greek strings under a new "gr" key in:typo3/sysext/css_styled_content/pi1/locallang.xml, like this:
> <?xml version="1.0" encoding="utf-8" standalone="yes" ?><T3locallang> <meta type="array"> <description>Labels for TypoScript</description> <type>module</type> </meta> <data type="array"> <languageKey index="default" type="array"> <label index="search.searchWord">Searchword</label> <label index="search.searchIn">Search in:</label> </languageKey> <languageKey index="gr" type="array"> <label index="search.searchWord">Αναζήτηση</label> <label index="search.searchIn">Αναζήτηση σε</label> </languageKey> </data></T3locallang>
> Into the website I'm assuming the 'default' language to be the Greek.I have also created an extra language as "English".Site is bilingual, implemented by using separate trees for each language.
> String under the Greek key of locallang.xml are not being used. Any ideas?
> Thank you,Giannis Economou
> _______________________________________________TYPO3-english mailing listTYPO3-english at lists.netfielders.dehttp://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>
>
More information about the TYPO3-english
mailing list