[Catalyst] Returning to referer - which action to take?

Ekki Plicht (DF4OR) ep at plicht.de
Sun Sep 26 21:47:49 GMT 2010


Am Sonntag 26 September 2010, 23:05:51 schrieb Octavian Rasnita:
> From: "Ekki Plicht (DF4OR)" <ep at plicht.de>
> 
> > Hi.
> > 
> > In my app I use I18N, so the visitor should be able to select his or her
> > language at will. The available languages are available on all pages for
> > selection. Once selected the preferred language is stored in a session
> > cookie, otherwise the automatic mechanism of I18N uses the preferred
> > language set in the request header (if any)
> 
> Can't you use I18N's mechanism for detecting the current's page language?
> 
> For example, you can have urls like:
> 
> www.site.com/en/dir1/dir2
> www.site.com/ro/dir1/dir2

Hm, I don't like URLs like that very much, but your later argument, that SEs 
wouldn't know which language to index when the pages have the same URL is 
convincing. I didn't think of that. Thanks.

I will look at the links you provided.

[...]

> Ideally, the link to each language-changer on each page should display the
> same page in the chosen language, and not the first page of the site or
> another default page.

That's just how I planned to have it. 

Thanks again,
Ekki



More information about the Catalyst mailing list