Title: Translation errors registration form
Last modified: July 30, 2019

---

# Translation errors registration form

 *  Resolved [missveronica](https://wordpress.org/support/users/missveronicatv/)
 * (@missveronicatv)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/translation-errors-registration-form/)
 * Translations for the registration page are missing for me and English is displayed.
 * 1. When I change line 240 in plugins/wp-user-manager/includes/wpum-forms/class-
   wpum-form-registration.php to:
 * ‘label’ => esc_html__($field->get_name()),
 * I get the labels translated.
 * 2. The code line 290 is not translated because changes are made in the code but
   not updated in the source english language file.
 * Language file:
    ‘I have read and accept the [privacy policy](https://wordpress.org/support/topic/translation-errors-registration-form/%s?output_format=md)
   and allow “%s” to collect and store the data I submit through this form.’
 * PHP code:
    ‘I have read and accept the [privacy policy](https://wordpress.org/support/topic/translation-errors-registration-form/%1$s?output_format=md)
   and allow “%2$s” to collect and store the data I submit through this form.’
 * WP User Manager Version 2.1.6

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

 *  Plugin Contributor [Alessandro Tesoro](https://wordpress.org/support/users/alessandrotesoro/)
 * (@alessandrotesoro)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/translation-errors-registration-form/#post-11785319)
 * Hi [@missveronicatv](https://wordpress.org/support/users/missveronicatv/)
 * Thanks for reporting the issue, I’ll investigate it and release an update asap.
 *  Plugin Contributor [Alessandro Tesoro](https://wordpress.org/support/users/alessandrotesoro/)
 * (@alessandrotesoro)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/translation-errors-registration-form/#post-11788282)
 * This has now been solved in version 2.0.7
 *  Thread Starter [missveronica](https://wordpress.org/support/users/missveronicatv/)
 * (@missveronicatv)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/translation-errors-registration-form/#post-11788922)
 * No my point 1 is still open.
    I have to modify line 240 in plugins/wp-user-manager/
   includes/wpum-forms/class-wpum-form-registration.php to:
 * ‘label’ => esc_html__($field->get_name()),
 * where I have added esc_html__ to get
    Username, Email, Password and Description
   translated.
 * WP User Manager Version 2.1.7
 *  Plugin Contributor [Alessandro Tesoro](https://wordpress.org/support/users/alessandrotesoro/)
 * (@alessandrotesoro)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/translation-errors-registration-form/#post-11788944)
 * [@missveronicatv](https://wordpress.org/support/users/missveronicatv/)
 * That’s not the correct way to translate field’s names and/or descriptions.
 * Field names, descriptions etc. Must only be changed via the field’s editor.
 *  Thread Starter [missveronica](https://wordpress.org/support/users/missveronicatv/)
 * (@missveronicatv)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/translation-errors-registration-form/#post-11789086)
 * I have made translations of these English words in a local language file with
   the Loco plugin and the translations are not being used by WP User Manager without
   this fix.
 * Clicking on the Translation option in WP User Manager will link to Loco translate
   plugin and these translations should not be used then?
 *  Thread Starter [missveronica](https://wordpress.org/support/users/missveronicatv/)
 * (@missveronicatv)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/translation-errors-registration-form/#post-11789473)
 * Looking at this in more detail I have found that when using a local language 
   file you still have to translate these fields.
 * In the ‘Editing: “Primary fields”‘ screen in WPUM the field ‘Type’ is taken from
   the local language file but the ‘Field name’ is still English which is the label
   being displayed.
 * Why not use the translations for both ‘Field name’ and ‘Type’?
    I have only to
   change ‘Field name’ content with your editor if I don’t like the translation.
 *  Plugin Contributor [Alessandro Tesoro](https://wordpress.org/support/users/alessandrotesoro/)
 * (@alessandrotesoro)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/translation-errors-registration-form/#post-11793342)
 * Hi [@missveronicatv](https://wordpress.org/support/users/missveronicatv/)
 * The title and description of fields and fields groups are stored into your site’s
   database. Strings stored into the database should never be translated in the 
   way you’re trying to translate them.

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

The topic ‘Translation errors registration form’ is closed to new replies.

 * ![](https://ps.w.org/wp-user-manager/assets/icon-256x256.png?rev=3468506)
 * [WP User Manager - User Profile Builder & Membership](https://wordpress.org/plugins/wp-user-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-user-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-user-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-user-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-user-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-user-manager/reviews/)

## Tags

 * [Registration](https://wordpress.org/support/topic-tag/registration/)

 * 7 replies
 * 2 participants
 * Last reply from: [Alessandro Tesoro](https://wordpress.org/support/users/alessandrotesoro/)
 * Last activity: [6 years, 11 months ago](https://wordpress.org/support/topic/translation-errors-registration-form/#post-11793342)
 * Status: resolved