Tell us what you are trying to do?
Translate plugins strings such as buttons, labels, placeholders etc. on frontend. We would like to use a free solution to translate a bunch of strings from Toolset Forms plugin and Toolset Types plugin. Can you point me on a free solution like LocoTranslate or similar?
Is there any documentation that you are following?
no
Is there a similar example that we can see?
no
What is the link to your site?
hidden link
Hello,
The best solution is WPML plugin(it is not a free plugin), see our document:
https://wpml.org/documentation/related-projects/toolset/
And you can follow WordPress document to translate Toolset plugins:
https://developer.wordpress.org/plugins/internationalization/localization/
For example, for Toolset Types plugin, the po file is in your plugin folder:
\plugins\types\vendor\toolset\types\embedded\locale\types.po
Toolset Forms plugin:
t\plugins\cred-frontend-editor\library\toolset\cred\embedded\locale\orig\wp-cred.po
Thank you Luo for your valuable support.
Our website is single language and we don't want to use WPML.
1. We would like to try Loco Translate but we are wondering if you have some tips or documentation to set Loco Translate properly(this plugin has more than 1Million active install and it should be a lightweight solution for those who want only translate strings).
2. At the moment we downloaded the .POT files and we edited it with POEDIT. Then we uploaded the italian version and it works like expected. By the way this solution is not user friendly and we are scared about loosing the changes we made after Toolset Updates.
If we choose to go ahead with this 2. solution, can you point us to the best way to protect the changes we made to the .mo files uploaded into \plugins\cred-frontend-editor\library\toolset\cred\embedded\locale\orig\wp-cred.po?
Q1) No, there isn't existed tips or documentation to set Loco Translate in Toolset side.
You might check it with Loco Translate support.
Q2) And you can follow WordPress document to load the mo file where you want to store:
https://developer.wordpress.org/reference/functions/load_textdomain/