ButlerBlog

chad butler's weblog

  • About
  • Blog
  • WordPress Plugins
  • Contact
Home / Web / WordPress / WP-Members / Forcing translated field names when using translation files with WP-Members

Forcing translated field names when
using translation files with WP-Members

By Chad Butler 28 Comments

WP-Members stores all of its registration field names and some of the user dialogs in the WordPress database.  If you are installing localized translation files for WP-Members on a WordPress installation where you have already activated the WP-Members plugin, you will likely find that the translated fields names do not load into the database. 

The plugin, once installed, does not reinstall any database settings.  This is so the plugin installation process not inadvertently overwrite any custom settings that may have been set.

In order to override this and get the translated field names into the database, there is a toggle in the wp-members-install.php file. Follow these steps to make the change and load the translated field names:

  1. In the WordPress Admin Area, go to the Appearance > Editor menu.
  2. In the Editor Panel, look in the upper right of the screen for “Select plugin to edit” and select WP-Members.
  3. Below that, look in the list of Plugin Files for wp-members-install.php.
  4. Near the top of the very first function in this file, wpmem_do_install, look for $chk_force = false; Change this to $chk_force = true;
  5. Save the change by clicking “Update File”
  6. Go to the WP Plugin panel and deactivate/reactivate the plugin.

The field names should now be translated.  I would suggest changing the toggle back to false,  but it isn’t totally necessary.  Also, if you had previously customized any of the plugin’s settings, you may need to double-check your settings.

  • Facebook
  • Twitter
  • Email
  • Print
  • More
  • LinkedIn
  • Reddit
  • Tumblr
  • Pocket
  • Pinterest

Filed Under: WP-Members Tagged With: plugins, tips, WordPress, WP-Members

About Chad Butler

Chad Butler is a freelance writer and web developer. He has developed several popular WordPress plugins and has written for forbes.com, sfomag.com, and investopedia.com.

Get More Content Like This

I will never share your information. No spam. No junk. No kidding. Unsubscribe anytime.

Recent Posts:

  • How I Saved Thousands Per
    Year on MailChimp Email Marketing
  • 5 Common Issues with WordPress Security & How to Fix Them
  • 5 Things You Need To
    Know About Cybercrime For 2018
  • 9 Landing Page Goofs That
    Make You Lose Business [Infographic]
  • 5 reasons I use WP-Members for building membership sites
  • The Risk of Relying on Free Plugins
  • Creativity Extortion Part 2 – Turning
    Negative into Positive as a Freelancer
  • Creativity Extortion Working as a
    Freelance Designer, Developer, or Writer
  • The Premium Support Business Model
  • Word-based Passwords Plugin for WordPress

Archives

  • About
  • Blog
  • Archive
  • Contact

Site powered by WordPress, running on the Genesis Framework from StudioPress.

Unless otherwise noted, content on this site is © 2006-2019 ButlerBlog and may not be reproduced without express written permission from the author.

loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.