ZenphotoCMS Forum
I'd like to include a text only language selector menu in navigation bar - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: Plugins (https://forum.zenphoto.org/forum-6.html)
+--- Thread: I'd like to include a text only language selector menu in navigation bar (/thread-11370.html)



I'd like to include a text only language selector menu in navigation bar - mtc - 23-09-2013

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




I'd like to include a text only language selector menu in navigation bar - acrylian - 23-09-2013

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




I'd like to include a text only language selector menu in navigation bar - mtc - 23-09-2013

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)




I'd like to include a text only language selector menu in navigation bar - acrylian - 23-09-2013

That topic is 5 years old and surely outdated. Look at the plugin I referenced and build the links yourself.




I'd like to include a text only language selector menu in navigation bar - mtc - 23-09-2013

Yes, i thought it was something like that, i'll try to look into the plugin




I'd like to include a text only language selector menu in navigation bar - acrylian - 23-09-2013

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.




I'd like to include a text only language selector menu in navigation bar - mtc - 25-09-2013

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?




I'd like to include a text only language selector menu in navigation bar - acrylian - 25-09-2013

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.