Forums / Cotonti / Core Labs / Archive / multi language sites

let the user choose a language

ez
#18288 2009-10-31 04:56
I am working on a language selector plugin..... :)

Now I can change the language on the fly already... and it already works jeeaahh.
So things to do:

1) make a tag for the language selector (like in the user profile) (I think in the header.tpl)
2) Store the language selection in a browser cookie
   So when returning to the page it will remember your setting by the cookie..
   and you can switch languages on the fly with the selector.

Together with the 18n plugin this will have all the ingredients for international sites :P

Hopefully I can finish that, because the cookie thing is new to me.

Added 1 day later:

Hi everyone...

I have made the plugin to switch from language on the fly !!!!
Together with Trustmasters i18n plugin you can make your site INTERNATIONAL.

please try it and let me know what you think.

ow forgot. You can even choose between flags as output or a select box..

enjoy :D

You can find the plugin here: Language selector plugin
==- I say: Keep it EZ -==

Dit bericht is bewerkt door ez (2009-11-01 23:59, 14 jaren ago)