209 posts
  • Located in Canada
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $500,000+ on Envato Market
  • Made it to the Authors' Hall of Fame
+5 more
DanyDuchaine says

Do you guys had any luck making them work together?

For example, my slider options are in the theme options, so the user can’t translate the text for the slider etc.

1043 posts It's in the pipeline!
  • Has sold $500,000+ on Envato Market
  • Has been part of the Envato Community for over 6 years
  • Elite Author: Sold more than $75,000 on Envato Market
  • Sells items exclusively on Envato Market
+7 more
purethemes says

Sorry to bump this thread, but I was tearing my hair out (and I don’t have too much of them) last days trying to somehow use WPML + OptionTree but I’ve failed. I don’t want to get solution on a plate, but maybe someone could share some ideas how to bite it. Thanks!

3665 posts Ruben Bristian
  • Sells items exclusively on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $500,000+ on Envato Market
  • Has been part of the Envato Community for over 6 years
+10 more
KrownThemes says

If you put the slider inside pages(via the metaboxes), users can translate everything, because they can translate custom meta values..

12 posts Nice
  • Has been part of the Envato Community for over 2 years
  • Has referred 10+ members
  • Has sold $500,000+ on Envato Market
  • Has collected 50+ items on Envato Market
+4 more
quitenicestuff says

Not tried this with OptionsTree but with SMOF you can translate theme options by going to “WPML > String Translation”, then scroll down to the bottom of the page and click “Translate texts in admin screens »”, tick all the options you want to translate then click “Apply”. Now when you go back to “WPML > String Translation” the text will be in the list ready for you to translate.

438 posts Keep Walking
  • Has been part of the Envato Community for over 3 years
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $125,000+ on Envato Market
  • Has collected 100+ items on Envato Market
+2 more
UXbarn says

Not tried this with OptionsTree but with SMOF you can translate theme options by going to “WPML > String Translation”, then scroll down to the bottom of the page and click “Translate texts in admin screens »”, tick all the options you want to translate then click “Apply”. Now when you go back to “WPML > String Translation” the text will be in the list ready for you to translate.

This solution works. Additionally, at the front end, you would need to use the WPML function named “icl_t()” to get those translated strings to display. Just use it in the loop when creating each slider item. :)

1043 posts It's in the pipeline!
  • Has sold $500,000+ on Envato Market
  • Has been part of the Envato Community for over 6 years
  • Elite Author: Sold more than $75,000 on Envato Market
  • Sells items exclusively on Envato Market
+7 more
purethemes says

Thanks! I’ll try

209 posts
  • Located in Canada
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $500,000+ on Envato Market
  • Made it to the Authors' Hall of Fame
+5 more
DanyDuchaine says

Hey guys, I’ll try too. Thanks!

1043 posts It's in the pipeline!
  • Has sold $500,000+ on Envato Market
  • Has been part of the Envato Community for over 6 years
  • Elite Author: Sold more than $75,000 on Envato Market
  • Sells items exclusively on Envato Market
+7 more
purethemes says
I’ve found that you can register strings with WPML String Translation, for example for slider from OptionTree you can do it like this: in loop that displays slider add some $i++ to have a counter and:
icl_register_string('Flex slider title'.$i,'flextitle'.$i, $slide['title']);
This will register in this case all titles of slides, then you can go to WPML and translate them, and to display them add:
echo icl_t('Flex slider title'.$i,'flextitle'.$i, $slide['title'])
Works like a charm!
69 posts
  • Has referred 50+ members
  • Has sold $250,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+2 more
SmoothThemes says

Just updated my theme to version 1.3 and have theme options for Individual Language ( not the OptionTree ) :D

1 post
  • Has been part of the Envato Community for over 4 years
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
  • Located in Portugal
byterland says

FAIL The problem is when you change a order of the slides by drag and drop, and then all the strings goes to the wrong slide.

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by