Title: know current language using php
Last modified: January 20, 2019

---

# know current language using php

 *  Resolved [robert7k](https://wordpress.org/support/users/robert7k/)
 * (@robert7k)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/know-current-language-using-php/)
 * sorry, resolved by myself
    please delete me
    -  This topic was modified 7 years, 4 months ago by [robert7k](https://wordpress.org/support/users/robert7k/).

Viewing 1 replies (of 1 total)

 *  Plugin Author [Georgian Cocora](https://wordpress.org/support/users/raster02/)
 * (@raster02)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/know-current-language-using-php/#post-11138037)
 * For other users stumbling upon this, the current language is in a global `$TRP_LANGUAGE`
   variable.
 * Regards.

Viewing 1 replies (of 1 total)

The topic ‘know current language using php’ is closed to new replies.

 * ![](https://ps.w.org/translatepress-multilingual/assets/icon.svg?rev=3166541)
 * [TranslatePress - Translate Multilingual sites with AI Translation](https://wordpress.org/plugins/translatepress-multilingual/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/translatepress-multilingual/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/translatepress-multilingual/)
 * [Active Topics](https://wordpress.org/support/plugin/translatepress-multilingual/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/translatepress-multilingual/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/translatepress-multilingual/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Georgian Cocora](https://wordpress.org/support/users/raster02/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/know-current-language-using-php/#post-11138037)
 * Status: resolved