Hi,

Does Template-Toolkit have a method of getting the list of languages
preffered by the browser in order to be able to serve the content in one of
those languages?
I would like to check if the first prefered language is available on my site
and if it is not, try the second and so on, until I find the prefered
language for which I have a content translation, or if I don't have for any
of those languages, use a default language.

I have done a script that does something like this, but I would like to know
if there is a better done way.

Thank you.

Teddy


_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to