Plugin Author
FONDY
(@fondyeu)
Hello, yes language parameter is taken from the current localization of wordpress, but you need to set up priority in fondy personal cabinet, settings tab.
Thread Starter
Invicto
(@invictosl)
Yes I did but it’s still showing another language. My wordpress website is in Spanish but the checkout form is still in english.
Plugin Author
FONDY
(@fondyeu)
Try incognito mode in browser, if you change language before, language cookie could have been saved. Also if you has translation plugin check if it setting current language on frontend.
Thread Starter
Invicto
(@invictosl)
Yes I have all that but still not working. Is it not possible to automatically redirect all clients to spanish checkout? Instead of detecting the language, it’s better to set up spanish as default if it’s possible
-
This reply was modified 2 years, 2 months ago by
Invicto.
Plugin Author
FONDY
(@fondyeu)
Yes, you can change it in plugin code,
woocommerce-fondy.php line: 382
‘lang’ => $this->getLanguage() to ‘lang’ => ‘es’
or you can contact to support with this question, language detection is work correctly.
Thread Starter
Invicto
(@invictosl)
Line 383: ‘lang’ => $this->getLanguage(),
I changed it with ‘lang’ => ‘es’,
is not working, still redirecting to english checkout
-
This reply was modified 2 years, 2 months ago by
Invicto.
Plugin Author
FONDY
(@fondyeu)
Try to contact support with this question.
Thread Starter
Invicto
(@invictosl)
I contacted support and they said that they can’t help me about this. I don’t think it should be that hard to change this, I just don’t know the right line to change in order to achieve this
Plugin Author
FONDY
(@fondyeu)
Line 383: ‘lang’ => $this->getLanguage(), – this is a correct and only one line, to force change language on checkout, https://docs.fondy.eu/docs/page/3/?la=en
If you hardcode this line and it still not work, problem not in plugin side.
-
This reply was modified 2 years, 2 months ago by
FONDY.