Title: Programmatically filter shown languages?
Last modified: September 17, 2024

---

# Programmatically filter shown languages?

 *  Resolved [Helmut Wandl](https://wordpress.org/support/users/ehtmlu/)
 * (@ehtmlu)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/programmatically-filter-shown-languages/)
 * Hi,
 * Is there a way to programmatically filter which languages ​​are displayed in 
   the widget? Because I would like to automatically only display English and the
   respective browser language in the widget.
 * Perhaps this would also be an interesting feature for the plugin in general.
 * Thank you and best regards,
   Helmut

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

 *  Plugin Author [edo888](https://wordpress.org/support/users/edo888/)
 * (@edo888)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/programmatically-filter-shown-languages/#post-18020688)
 * Hi,
 * Yes, you can possibly do it via javascript.
 * I do not recommend doing it server side, since in that case you cannot have cache.
 * Thanks! 🙂
 *  Thread Starter [Helmut Wandl](https://wordpress.org/support/users/ehtmlu/)
 * (@ehtmlu)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/programmatically-filter-shown-languages/#post-18021845)
 * I don’t use any cache but I understand what you mean.
 * Thank you!

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

The topic ‘Programmatically filter shown languages?’ is closed to new replies.

 * ![](https://ps.w.org/gtranslate/assets/icon-256x256.png?rev=2595917)
 * [Translate Wordpress with GTranslate](https://wordpress.org/plugins/gtranslate/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gtranslate/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gtranslate/)
 * [Active Topics](https://wordpress.org/support/plugin/gtranslate/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gtranslate/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gtranslate/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Helmut Wandl](https://wordpress.org/support/users/ehtmlu/)
 * Last activity: [1 year, 8 months ago](https://wordpress.org/support/topic/programmatically-filter-shown-languages/#post-18021845)
 * Status: resolved