Hi
In fact to translate the Theme Options, you need to create a wpml-config.xml that Polylang supports. You need only the admin-text part, see: https://polylang.wordpress.com/documentation/documentation-for-developers/the-wpml-language-configuration-file/
You can find the key name options in your database in the wp_options table.
After you have created your wpml-config.xml file, you can translate your Theme Options in the Strings translation setting.
Ok thanks for your help.
i’m not familiar with xml, so i don’t really understand what i need to do.
in my wp_options
i have a row : “zeenoble_options” with the parameters of the template including slides.
this is his content
a:24:{s:21:"themeZee_general_logo";s:0:"";s:24:"themeZee_general_tagline";s:5:"false";s:25:"themeZee_general_sidebars";s:5:"right";s:23:"themeZee_general_footer";s:34:"Catering du Marché © 2015 - 2016";s:20:"themeZee_general_css";s:0:"";s:21:"themeZee_color_scheme";s:7:"default";s:26:"themeZee_colors_navi_style";s:5:"light";s:27:"themeZee_frontpage_activate";s:4:"true";s:32:"themeZee_frontpage_slider_active";s:4:"true";s:35:"themeZee_frontpage_slider_animation";s:4:"fade";s:31:"themeZee_frontpage_slider_speed";s:4:"7000";s:30:"themeZee_frontpage_slider_info";s:0:"";s:31:"themeZee_frontpage_widgets_info";s:0:"";s:28:"themeZee_slider_content_info";s:0:"";s:25:"themeZee_slider_one_image";s:88:"-http://dumarche.votreservice.org/wp-content/uploads/2016/01/stand-food-truck-300x183.jpg";s:25:"themeZee_slider_one_title";s:33:"Le food truck Catering du Marché";s:27:"themeZee_slider_one_content";s:213:"L'équipe de Catering du Marché et leur Food truck se déplace à votre bureau ou à votre événement partout en Belgique afin de faire une dégustation d'huîtres, de moules, ou autres produits frais de la mer.";s:29:"themeZee_slider_one_link_name";s:24:"Plus d'informations";s:28:"themeZee_slider_one_link_url";s:50:"-http://dumarche.votreservice.org/nos-produits.html";s:25:"themeZee_slider_two_image";s:87:"-http://dumarche.votreservice.org/wp-content/uploads/2016/01/stand-evenement-300x183.jpg";s:25:"themeZee_slider_two_title";s:23:"Les hommes des Huîtres";s:27:"themeZee_slider_two_content";s:168:"Notre équipe "Les Hommes des Huitres" s'invite sur vos événements avec le costume traditionnel Breton afin de faire déguster des huîtres fraîches à vos invités.";s:29:"themeZee_slider_two_link_name";s:24:"Plus d'informations";s:28:"themeZee_slider_two_link_url";s:57:"-http://dumarche.votreservice.org/ecaillers-huitriers.html";}
but i don’t understand what to set up in my wpml-config.xml
could you advice me please ?
( i have set up – before http:// to not having links to this content )
thanks in advance for your help
like if i would like to translate :
themeZee_slider_one_title”;s:33:”Le food truck Catering du Marché”;
what does i need to add to my xml ?
I unserialized the strings in the zeenoble_options (which replace my_plugins_options in the example). These options (option_name_) will help you to build your wpml-config.xml:
Array
(
[themeZee_general_logo] =>
[themeZee_general_tagline] => false
[themeZee_general_sidebars] => right
[themeZee_general_footer] => Place your Footer Content here
[themeZee_general_css] =>
[themeZee_color_scheme] => default
[themeZee_colors_navi_style] => light
[themeZee_frontpage_activate] => false
[themeZee_frontpage_slider_active] => false
[themeZee_frontpage_slider_animation] => fade
[themeZee_frontpage_slider_speed] => 7000
[themeZee_frontpage_slider_info] =>
[themeZee_frontpage_widgets_info] =>
[themeZee_slider_content_info] =>
[themeZee_slider_one_image] => http://localhost/wordpress/test/wp-content/themes/zeenoble/images/slide-one.jpg
[themeZee_slider_one_title] => popo
[themeZee_slider_one_content] => Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor.
[themeZee_slider_one_link_name] =>
[themeZee_slider_one_link_url] =>
[themeZee_slider_two_image] => http://localhost/wordpress/test/wp-content/themes/zeenoble/images/slide-two.jpg
[themeZee_slider_two_title] => Second Slide
[themeZee_slider_two_content] => Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor.
[themeZee_slider_two_link_name] => Demo Link to ThemeZee.com
[themeZee_slider_two_link_url] => http://themezee.com/
)
Wow, thanks a lot !
this will help.
i look at it and gives a feedback..
thank you very much