2012-03-06, 17:19:19
Zorato Wrote:This plugin automatically generates language menu with links to change language and stay on same page.
To-Do list:
- add image support (icons or png's instead of/in addition to text caption)
- add drag'n'drop support to settings menu for customizable language order
Thanks for extending the I18N plugin.
The language switching was never a priority for me because it's a one-time setup in the template and - as your To-Do list shows - not that easy to implement, if it should fit for everybody.
But it definitely will simplify the setup for the language links.
Regarding your plugin: you must not save data in the plugins folder, you should use /data/other instead.
Suggestion: you can include the language/country combinations from e.g. here in your plugin and show the user a list with the flags corresponding to the language from here. When the user selects a flag, you can automatically download it to e.g. the data/downloads/flags folder and use it in your link.