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.
- Has been a member for 4-5 years
- Item was Featured
- Author was Featured
- 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
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!
- Most Wanted Bounty Winner
- Sold between 250 000 and 1 000 000 dollars
- Has been a member for 5-6 years
- Repeatedly Helped protect Envato Marketplaces against copyright violations
- Won a Competition
- Bought between 100 and 499 items
- Exclusive Author
- Referred between 200 and 499 users
If you put the slider inside pages(via the metaboxes), users can translate everything, because they can translate custom meta values..
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.
quitenicestuff said
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. 
- Has been a member for 4-5 years
- Item was Featured
- Author was Featured
- 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
Thanks! I’ll try
Hey guys, I’ll try too. Thanks!
- Has been a member for 4-5 years
- Item was Featured
- Author was Featured
- 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
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!Just updated my theme to version 1.3 and have theme options for Individual Language ( not the OptionTree ) 
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.
