Title: Problem with localized WordPress
Last modified: December 11, 2019

---

# Problem with localized WordPress

 *  [bezpeka.com](https://wordpress.org/support/users/bezpekacom/)
 * (@bezpekacom)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/problem-with-localized-wordpress/)
 * In the class-email-subscribers-admin.php file, you have 2 functions that load
   styles and scripts (enqueue_styles and enqueue_scripts).
    They have a check to
   see if the current page is in the array:
 *     ```
       $enqueue_on_screens = array(
       	'toplevel_page_es_dashboard',
       	'email-subscribers_page_es_subscribers',
       	'email-subscribers_page_es_lists',
       	'email-subscribers_page_es_forms',
       	'email-subscribers_page_es_campaigns',
       	'email-subscribers_page_es_newsletters',
       	'email-subscribers_page_es_notifications',
       	'edit-es_template',
       	'email-subscribers_page_es_reports',
       	'email-subscribers_page_es_tools',
       	'email-subscribers_page_es_settings',
       	'email-subscribers_page_es_general_information',
       	'email-subscribers_page_es_pricing',
       	'es_template',
       );
       //all admin notice
       if ( ! in_array( $screen_id, $enqueue_on_screens, true ) ) {
       	return;
       }
       ```
   
 * The problem is that if I use non-english wordpress, then the pages’ ids are also
   non-english (for example, I have id of the settings page when using the Russian
   language that equal “%d0%bf%d0%be%d0%b4%d0%bf%d0%b8%d1%81%d1%87%d0%b8%d0%ba%d0%
   b8_page_es_settings”), and return is triggered, and styles and scripts are not
   loaded.
 * Thus, when using non-english language, the pages in the admin panel are displayed
   incorrectly.

Viewing 1 replies (of 1 total)

 *  [Malay Ladu](https://wordpress.org/support/users/malayladu/)
 * (@malayladu)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/problem-with-localized-wordpress/#post-12233608)
 * Hi,
 * Thanks for reporting.
 * We will take a look at it and update you.

Viewing 1 replies (of 1 total)

The topic ‘Problem with localized WordPress’ is closed to new replies.

 * ![](https://ps.w.org/email-subscribers/assets/icon-256x256.png?rev=2274172)
 * [Email Subscribers & Newsletters - Email Marketing, Post Notifications & Newsletter Plugin for WordPress](https://wordpress.org/plugins/email-subscribers/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/email-subscribers/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/email-subscribers/)
 * [Active Topics](https://wordpress.org/support/plugin/email-subscribers/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/email-subscribers/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/email-subscribers/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Malay Ladu](https://wordpress.org/support/users/malayladu/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/problem-with-localized-wordpress/#post-12233608)
 * Status: not resolved