I'd like to include a text only language selector menu in navigation bar

Hi, I would like to include a language selection menu in my navigation bar, i can't find a way to call the dynamic_locale function from any other means than the flag menu.
Thanks in advance

Comments

  • acrylian Administrator, Developer
    The dynamic locale has two options a dropdown selector or the flag list. You could also use this plugin to create simple links to switch: http://www.zenphoto.org/news/seo_locale
  • Thank you, I have unchecked the flags option in the plugin admin and i still don't get the text, anyway i'd to keep the flags menu. I was hoping to call the function from a text string, i saw an old thread related to this by using a form but it did not work
    http://www.zenphoto.org/support/topic.php?id=3874 (I'm not really
    sure how to implement it)
  • acrylian Administrator, Developer
    That topic is 5 years old and surely outdated. Look at the plugin I referenced and build the links yourself.
  • Yes, i thought it was something like that, i'll try to look into the plugin
  • acrylian Administrator, Developer
    I assume your site will not have all languages so you can easily create those two links. The plugin entry above tells what urls you need to use to switch via url.
  • Thank you, i think i beginning to understand...
    One more thing: the plug-in only seem to work when the site is "live", is there a way to enable it on the localhost?
  • acrylian Administrator, Developer
    All plugins do work on localhost as we do our primary development on those (I use MAMP on Mac). If languages don't work that mostly means the server (regardless if live or local) does not have the locales for those languages installed and/or no gettext support. Gettext is a PHP server side extension.
Sign In or Register to comment.