Dropdown Translation WordPress
-
Kind of simple stuff, but i can’t get it working. I have a drop down field which is like this
<select> <option value=""><?php _e('Select','responsive'); ?></option> <option value="<?php _e('some text','responsive'); ?>"><?php _e('some text','responsive'); ?></option> <option value="<?php _e('some other text','responsive'); ?>"><?php _e('some other text','responsive'); ?></option> </select>
I just want that to be translated in french when my front end is loading french language through a plugin. I have added translated string for “some text” & “some other text”, but its not working, can anyone points me to right direction ? what i am doing wrong here ?
- The topic ‘Dropdown Translation WordPress’ is closed to new replies.