[Neos] How to build a multi-language site

Aske Ertmann aske at moc.net
Tue Sep 10 08:55:10 CEST 2013


Hi Lorenz

I think you can do this in many ways. It could be done with htaccess rewrite rules using the HTTP_ACCEPT_LANGUAGE header, or in JavaScript. If you don't want to do it in htaccess you could register a custom request handler or use AOP or some interface overwriting, this might break at some point though and probably not the best solution.

/Aske

On 08/09/2013, at 23.05, Lorenz Ulrich wrote:

> Hi Christian
> 
> > You will want to use one site package and just create two pages "en" and
> > "de" and underneath the respective structures. Additionally you probably
> > need to adjust the lang attributes depending on the tree you are in, but
> > that should be pretty easy with CASE statement in TypoScript.
> 
> Thanks for your advice. I built my structure as suggested.
> 
> Now I'm wondering how I could load the English or German version depending on browser languages.
> 
> I guess there is no configuration for that. Do I need to write a plugin? Use some AOP the hook into the request?
> 
> Thanks and best regards,
> 
> Lorez
> 
> Am 29.08.2013 11:36, schrieb Christian Müller:
> 
> _______________________________________________
> Neos mailing list
> Neos at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/neos



More information about the Neos mailing list