Title: Automatically Enable English
Last modified: August 30, 2016

---

# Automatically Enable English

 *  Resolved [M3](https://wordpress.org/support/users/emmtre/)
 * (@emmtre)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/automatically-enable-english/)
 * Is this code snippet still supposed to work with the plugin?
 *     ```
       /** Enable the plugin automatically for admin users */
       if(current_user_can('manage_options')) {
           global $english_wordpress_admin_plugin;
           $english_wordpress_admin_plugin->set_cookie(1);
           add_filter('english_wordpress_admin_show_admin_bar', '__return_false');
       }
       ```
   
 * [https://wordpress.org/plugins/english-wp-admin/](https://wordpress.org/plugins/english-wp-admin/)

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

 *  Thread Starter [M3](https://wordpress.org/support/users/emmtre/)
 * (@emmtre)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/automatically-enable-english/#post-6866568)
 * Is it a known limitation that you always get the local languange in dashboard
   when you first login and then the admin pages switch to english if you use the
   code snippet above?
 *  Plugin Author [Stanislav Khromov](https://wordpress.org/support/users/khromov/)
 * (@khromov)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/automatically-enable-english/#post-6866618)
 * [@emmtre](https://wordpress.org/support/users/emmtre/),
 * In order to change the locale as early as possible we are using a cookie-based
   approach. Unfortunately, after a login the cookie is not set (yet), so you will
   have the native language for the initial pageload.
 * Hope that answers your question!
 *  Thread Starter [M3](https://wordpress.org/support/users/emmtre/)
 * (@emmtre)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/automatically-enable-english/#post-6866619)
 * No problem. I thought it didn’t work first but I realized this must be the case.
   Keep up the good work!

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

The topic ‘Automatically Enable English’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/english-wp-admin_f9f9f9.svg)
 * [English WordPress Admin](https://wordpress.org/plugins/english-wp-admin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/english-wp-admin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/english-wp-admin/)
 * [Active Topics](https://wordpress.org/support/plugin/english-wp-admin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/english-wp-admin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/english-wp-admin/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [M3](https://wordpress.org/support/users/emmtre/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/automatically-enable-english/#post-6866619)
 * Status: resolved