Title: Check Current Language In Plugin
Last modified: December 12, 2017

---

# Check Current Language In Plugin

 *  Resolved [paramjeetsingh715](https://wordpress.org/support/users/paramjeetsingh715/)
 * (@paramjeetsingh715)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/check-current-language-in-plugin/)
 * Hi, is there a way to get the current selected language?
 * We are using a WooCommerce currency converter plugin & we need to change the 
   currency on based of selected language.
 * For example [http://prntscr.com/hmm6rz](http://prntscr.com/hmm6rz)
 * We just need to change the variable for the placeholder of language for our plugin.
 * Thank You!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcheck-current-language-in-plugin%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Weglot Translate Team](https://wordpress.org/support/users/remyb92/)
 * (@remyb92)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/check-current-language-in-plugin/#post-9777802)
 * Hi,
 * If you need it in the PHP :
    Weglot::Instance()->getCurrentLang();
 * Best,

Viewing 1 replies (of 1 total)

The topic ‘Check Current Language In Plugin’ is closed to new replies.

 * ![](https://ps.w.org/weglot/assets/icon-256x256.gif?rev=3333666)
 * [Translate WordPress with Weglot - Multilingual AI Translation](https://wordpress.org/plugins/weglot/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/weglot/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/weglot/)
 * [Active Topics](https://wordpress.org/support/plugin/weglot/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/weglot/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/weglot/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Weglot Translate Team](https://wordpress.org/support/users/remyb92/)
 * Last activity: [8 years, 4 months ago](https://wordpress.org/support/topic/check-current-language-in-plugin/#post-9777802)
 * Status: resolved