Title: Display language code instead of Flags
Last modified: August 24, 2016

---

# Display language code instead of Flags

 *  Resolved [Jeshil](https://wordpress.org/support/users/jeshil/)
 * (@jeshil)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/display-language-code-instead-of-flags/)
 * Hello,
 * I installed the plugin of Transposh but I am having difficulty to change the 
   flag display to displaying the language code so instead of UK flag I want to 
   have EN DE etc..
 * Has anybody implemented this before? Please help me with some feedback how to
   do it?
 * I am trying to change the widget appearance in tpw_flags.php in the line of
 *  transposh_utils::display_flag(“$plugpath/img/flags”, $langrecord[‘flag’], $langrecord[‘
   langorig’], false) .
 * to substitute it with something to showing language code but I can’t figure out
   how..
 * [https://wordpress.org/plugins/transposh-translation-filter-for-wordpress/](https://wordpress.org/plugins/transposh-translation-filter-for-wordpress/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [Jeshil](https://wordpress.org/support/users/jeshil/)
 * (@jeshil)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/display-language-code-instead-of-flags/#post-6032298)
 * You scratch your head for some time but at the minute you post for help you find
   a solution. Bit embrassing..
 * If anybody faces the same issue as me, I went to contants.php in core folder 
   of the general plugin folder of Transposh and changed the array of languages 
   and changed the original language for Englisht to EN and German to DE. Then I
   used the widget from flags/tpw_flags_css.php, inside this php file I changed 
   the line below
 * instead of
    `transposh_utils::display_flag("", $langrecord['flag'], $langrecord['
   langorig'], true) .` to just `$langrecord['langorig'] .`
 * and done 🙂

Viewing 1 replies (of 1 total)

The topic ‘Display language code instead of Flags’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/transposh-translation-filter-for-
   wordpress_495166.svg)
 * [Transposh WordPress Translation](https://wordpress.org/plugins/transposh-translation-filter-for-wordpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/transposh-translation-filter-for-wordpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/transposh-translation-filter-for-wordpress/)
 * [Active Topics](https://wordpress.org/support/plugin/transposh-translation-filter-for-wordpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/transposh-translation-filter-for-wordpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/transposh-translation-filter-for-wordpress/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [Jeshil](https://wordpress.org/support/users/jeshil/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/display-language-code-instead-of-flags/#post-6032298)
 * Status: resolved