Title: Localization Issue
Last modified: August 21, 2016

---

# Localization Issue

 *  ResolvedModerator [Jonathan Desrosiers](https://wordpress.org/support/users/desrosj/)
 * (@desrosj)
 * Principal Software Engineer & WordPress Core Committer
 * [13 years ago](https://wordpress.org/support/topic/localization-issue-4/)
 * Noticed a bug with this. Because you are deregistering the script, the strength
   responses are missing and causes JS errors. You just have to add a wp_localize_script
   call. Below is the one used in core.
 *     ```
       wp_localize_script( 'password-strength-meter', 'pwsL10n', array(
       	'empty' => __('Strength indicator'),
       	'short' => __('Very weak'),
       	'bad' => __('Weak'),
       	/* translators: password strength */
       	'good' => _x('Medium', 'password strength'),
       	'strong' => __('Strong'),
       	'mismatch' => __('Mismatch')
       ) );
       ```
   
 * [http://wordpress.org/plugins/zxcvbn/](http://wordpress.org/plugins/zxcvbn/)

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

 *  Plugin Author [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [13 years ago](https://wordpress.org/support/topic/localization-issue-4/#post-4038012)
 * Cool, thanks for the info. I’ll add it shortly.
 *  Plugin Author [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [13 years ago](https://wordpress.org/support/topic/localization-issue-4/#post-4038019)
 * Fixed in version 1.1 of the plugin. Good catch! 🙂

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

The topic ‘Localization Issue’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/zxcvbn.svg)
 * [Zxcvbn](https://wordpress.org/plugins/zxcvbn/)
 * [Support Threads](https://wordpress.org/support/plugin/zxcvbn/)
 * [Active Topics](https://wordpress.org/support/plugin/zxcvbn/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/zxcvbn/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/zxcvbn/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/localization-issue-4/#post-4038019)
 * Status: resolved