Title: Payment method
Last modified: October 11, 2018

---

# Payment method

 *  Resolved [mstudioIL](https://wordpress.org/support/users/mstudioil/)
 * (@mstudioil)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/payment-method-16/)
 * I do not know if it related to the plugin, but I using payment getaway plugin
   on my site that using 2 languages, I can set language on the plugin.
    The plugin
   redirect to the payment company and I want the form to be language of the site,
   they said it can be but WPML, any way to do it with your plugin and polylang?

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Contributor [jomo](https://wordpress.org/support/users/jonathanmoorebcsorg/)
 * (@jonathanmoorebcsorg)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/payment-method-16/#post-10772844)
 * Which “payment getaway plugin” are you referring to?
 * This plugin only adapts the woocommerce plugin for polylang, may need their own
   support for polylang or you may need to implement your own compatibility layer,
   which normally isn’t too hard to do but will depend on the plugin in question.
 * For example it may be possible with Loco Translate or Polylang string translation
   tables.
 * Marking the issue as closed as other plugins are out of scope of support by this
   plugin.
 *  Thread Starter [mstudioIL](https://wordpress.org/support/users/mstudioil/)
 * (@mstudioil)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/payment-method-16/#post-10778450)
 * I referring to payment plugin allow people to pay with credit card on the payment
   company’ site, the site gets the language code to show the site’s language according
   to the code.
    P.S. if you close the issue I can not answer you
 *  Plugin Contributor [jomo](https://wordpress.org/support/users/jonathanmoorebcsorg/)
 * (@jonathanmoorebcsorg)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/payment-method-16/#post-10778572)
 * Which “payment plugin” and which payment company are you referring to?
    If they
   have a filter for the url you could hook this and substitute the language code
   with the Polylang language code. pll_current_language or pll_get_post_language(
   $order_id) should do it.
 *  Thread Starter [mstudioIL](https://wordpress.org/support/users/mstudioil/)
 * (@mstudioil)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/payment-method-16/#post-10778615)
 * It is Israeli company, did found English info, the plugin has parameter for language,
   
   he for Hebrew and en for English, they work with WPML so I believe it work also
   with Polylang. I will check to see if their is any code for the language
 *  Thread Starter [mstudioIL](https://wordpress.org/support/users/mstudioil/)
 * (@mstudioil)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/payment-method-16/#post-10780471)
 * I read the pll_current_language reference but I did not understand how to get
   the value it return.
    using `get_locale() ;` can help?

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Payment method’ is closed to new replies.

 * ![](https://ps.w.org/woo-poly-integration/assets/icon-128x128.png?rev=1139686)
 * [Hyyan WooCommerce Polylang Integration](https://wordpress.org/plugins/woo-poly-integration/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-poly-integration/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-poly-integration/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-poly-integration/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-poly-integration/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-poly-integration/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [mstudioIL](https://wordpress.org/support/users/mstudioil/)
 * Last activity: [7 years, 7 months ago](https://wordpress.org/support/topic/payment-method-16/#post-10780471)
 * Status: resolved