Plugin Author
mpbm23
(@mpbm23)
Hi,
I tried the en-US LanCode and it worked fine.
Did you tried again?
Thanks
Hi there,
the problem seems to be a conflict with the WPML plugin. Your plugin will work in the Woocommerce Checkout page in English, but not in other language Checkout pages. The only workaround I found for a multilingual eshop with English as the default (3 more languages) was the following:
1) Create an English language file with Poedit (your plugin has only Greek language po file).
2) Change the default language in English in your plugin’s php file.
And the crucial part:
3) Redirect the checkout page of any language (Greek or other) to the Woocommerce checkout page in English.
That way the user will be redirected to the Pireaus page in English to enter their card data without errors. It is the only solution working for my setup and my target group (non-Greek customers).
If you can look into it and integrate a seamless operation with WPML, meaning that from any Checkout page the user will be automatically redirected to a Pireaus page in English, you will be much appreciated.
In any case, let me congratulate you again for an excellent plugin.
Thank you.
It was my mistake to refer to the Polylang plugin. I am using WPML and the relevant WPML Woocommerce plugins.
Plugin Author
mpbm23
(@mpbm23)
WPML is a commercial plugin and is not supported.
Using the po files as configuration files does not seem as a right solution.
Also the problem must be for the other languages the links that you have provided to the bank.
I believe that Piraeus bank require an other gateway for each language.
Hi there,
I have already marked this as resolved, but I would like to note the following regarding my site using WPML and your plugin:
1) If I do not use translated plugin po and mo files for the checkout language I need (in my case English), Pireaus gateway simply returns an error.
2) Pireaus and your plugin are asking for one specific set of links. I do not see an option in the plugin to add different links for different language pages.
3) If what you mean by ‘different gateways’ is creating different (language) versions of the same site with separate installations of wordpress and your plugin, I do not think it is worth the time/effort. Also, Pireaus gives you only four language codes, English, Greek, German and Russian. Even if I was using different gateways for each language, what if I have a checkout in Chinese, or Arabic? I find that having a default Woocommerce checkout, such as English, is more practical.
In any case, thanks again for response – and your plugin!