Solved
Problem was with localization files location. I copied localization files to
wp-content/plugins/woocommerce-catalog-enquiry/languages/
and it works 🙂
BTW, I like this plugin 🙂
Wrong filenames in your case, just rename filenames:
es_ES.mo to wc-Woocommerce-Catalog-Enquiry-es_ES.mo
es_ES.po to wc-Woocommerce-Catalog-Enquiry-es_ES.po
e26
(@tottinikk)
Please,
I have translated my po and mo files, and i’ve renamed with the sufix it_IT: now in my language folder there are 4 files: englis .mo / english .po / italian .mo / italian .po.
But my frontend (and the text of the email message) is still in English!
I’ve 2 questions:
– How can I choose to show on my frontend the Italian version (italian .mo / italian .po)?
– And.. how can I do in case of multi-language website?
Thank you very much!
This plugin is not correctly prepared for translation…
Calls like this:
__('Woocommerce Catalog Enquiry Settings',$WC_Woocommerce_Catalog_Enquiry->text_domain)
Should be:
__('Woocommerce Catalog Enquiry Settings','Woocommerce_Catalog_Enquiry')
The text domain argument on the i18n functions should never be a variable or a constant but rather a string.
Read this: https://github.com/DevinVinson/WordPress-Plugin-Boilerplate/issues/303
Hi all,
We would like to help you out. We think the best way to translate your own language is with PO editor, or such language translator.
Thanks,
Team Dualcube