What plugin are you using to implement the multi-language support? And what approach do you take with that plugin exactly? Are you creating multiple Give forms?
For example, some multi-lingual plugins have you create multiple forms but ALSO generate PO/MO files for the additional languages. That’s what you’d need to do in order for the language to be reflected correctly.
When the gateway switches it loads the new fields dynamically over AJAX, so WordPress needs to be able to load that language PO translation file in order to show them correctly.
Hope that helps!
Hi Matt
Thanks a lot for your reply! I am working with WMPL for translating the site. And to make sure I have the form content in two languages I have two give forms (one in english one in german). German reflects correctly as long as I don’t switch gateways… since it loads the correct language at first I do not understand why it changes languages when switching gateways (I’m not a programmer unfortunately).. so what would your approach be to solve that issue?
Thank you very much for the support!
Pascal
Hi again Matt
After digging deeper the solution was pretty simple: In WPML there is an option called “Language filtering for AJAX operations” that uses a cookie to store the language info.. that did the trick.. so one step closer! Thanks for your help!
Pascal
-
This reply was modified 7 years ago by
flyartcom.
Awesome, thanks for the update. I’ll keep that in mind.
I’m working on a few docs for Give and Multi-language support and that will be important for the WPML doc.
If you’re enjoying Give and appreciate our support, we’d love a kind review from you here:
https://wordpress.org/support/plugin/give/reviews/
Thanks!
Hi there,
I am having the same issue but as I am using WPGLobus (instead of WMPL) I haven’t been able to check on the Ajax option.
The page is this one: http://restartersbcn.info/donar/
The website’s language is set to Spanish, but not even then the form text appears different than English.
Any thoughts?
Thanks!!
Cristina.