196 posts
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Bought between 500 and 999 items
  • Canada
  • Exclusive Author
  • Has been a member for 2-3 years
  • Referred between 50 and 99 users
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.

964 posts It's in the pipeline!
  • Elite Author
  • Has been a member for 5-6 years
  • Bought between 100 and 499 items
  • Referred between 200 and 499 users
  • Exclusive Author
  • Microlancer Beta Tester
  • Author had a Free File of the Month
+2 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!

3249 posts Nice Guy
  • Forum Superstar
  • Most Wanted Bounty Winner
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Has been a member for 6-7 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Won a Competition
  • Bought between 100 and 499 items
  • Exclusive Author
+6 more
RubenBristian says

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

11 posts Nice
  • Bought between 50 and 99 items
  • Elite Author
  • Exclusive Author
  • Has been a member for 2-3 years
  • Referred between 10 and 49 users
  • Sold between 250 000 and 1 000 000 dollars
  • United Kingdom
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.

383 posts Keep Walking
  • Has been a member for 3-4 years
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Bought between 100 and 499 items
  • Referred between 100 and 199 users
  • Exclusive Author
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. :)

964 posts It's in the pipeline!
  • Elite Author
  • Has been a member for 5-6 years
  • Bought between 100 and 499 items
  • Referred between 200 and 499 users
  • Exclusive Author
  • Microlancer Beta Tester
  • Author had a Free File of the Month
+2 more
purethemes says

Thanks! I’ll try

196 posts
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Bought between 500 and 999 items
  • Canada
  • Exclusive Author
  • Has been a member for 2-3 years
  • Referred between 50 and 99 users
DanyDuchaine says

Hey guys, I’ll try too. Thanks!

964 posts It's in the pipeline!
  • Elite Author
  • Has been a member for 5-6 years
  • Bought between 100 and 499 items
  • Referred between 200 and 499 users
  • Exclusive Author
  • Microlancer Beta Tester
  • Author had a Free File of the Month
+2 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!
67 posts
  • Elite Author
  • Referred between 10 and 49 users
  • Bought between 10 and 49 items
  • Sold between 250 000 and 1 000 000 dollars
  • Exclusive Author
  • Has been a member for 1-2 years
SmoothThemes says

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

1 post
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Portugal
mediabyter 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.

by
by
by
by
by
by