Hi @maxidg
Plugin is fully compatible with WPML. However, it does not include any translation feature besides community translations.
If a translator plugin fails, you will need to translate manually.
You can apply a PHP script or CSS to translate in a multi language website.
CSS ->https://stackoverflow.com/questions/7896402/how-can-i-replace-text-with-css <- Use :lang() pseudo selector to retrieve user language
PHP
Use the gettext()WP hook -> https://developer.ww.wp.xz.cn/reference/hooks/gettext/ <- to get string to be translated
and get_locale() PHP to get user language -> https://stackoverflow.com/questions/29118772/how-to-determine-the-current-language-of-a-wordpress-page-when-using-polylang
Thread Starter
maxidg
(@maxidg)
@sebastopolys hi there … so listen i have open the .pot file and i have changed the add cart text into buy now … then i open po edit and i have translate it acquista ora … in italian .. then i have update files on server .. but no change … 🙁
ideas: https://mappigo.it/
.pot files are not used by plugin, but by WP itself in order to translate. But translation is a very different thing than a multi-language website
If you could show me the text that needs to be translated, I can share a simple CSS script that will make it.
Thread Starter
maxidg
(@maxidg)
hi there @sebastopolys I soiled!!! .. using WPML .. string translation ..
fine!!
–max