This plugin automatically generates language menu with links to change language and stay on same page.
Requirements: mvlcek's i18n plugin.
Instuctions: set caption for each language, name class for current language <li> (in navigation menu it is 'current') and it is ready to be used in your theme template!
Don't forget to provide <ul> tags (you may add your own attributes to them), because this plugin generates only <li> elements.
Example of usage in theme template:
To-Do list:
Requirements: mvlcek's i18n plugin.
Instuctions: set caption for each language, name class for current language <li> (in navigation menu it is 'current') and it is ready to be used in your theme template!
Don't forget to provide <ul> tags (you may add your own attributes to them), because this plugin generates only <li> elements.
Example of usage in theme template:
Code:
<ul id="language-menu"><?php get_i18n_lang_menu(); ?></ul>
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