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.

Enjoyed this article?

Don't miss a single post. Subscribe to our RSS feed!

  • 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. He also runs a small organic farm in east Georgia.

Join Us!

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

Recent Posts:

  • Simple Tactics for Protecting Your
    Small Business Against a Recession
  • Create and delete WordPress sites in
    XAMPP with a simple batch file
  • Proofy.io Email Validation
  • 11 Ways to Handle
    Your Company’s Marketing Solo
  • 3 Best Online Courses to
    Improve your Digital Marketing Skills
  • Full Site Editing –
    the Future of WordPress?
  • The Right Product at the Right Time
  • Top 3 Time Wasters
    Keeping You From Success
  • Top 8 Tips to Create Your Own Website Easily With WordPress
  • How to Fix wp_mail
    Settings for WordPress Email

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-2023 ButlerBlog and may not be reproduced without express written permission from the author.

Some content may include affiliate links for which this site receives a small commission.