If you’re looking to edit plugin strings or theme strings in WordPress, you can make changes to that plugin or theme. But you will also lose those changes on the next update.
How do you change the “Register” text with “Create Account”?
It’s such a common request, that we even have an addon for Profile Builder that allows you to modify the gettext strings from the plugin to something else.
And we’re not alone in this. Eric Daams from Charitable reached out and asked us to use TranslatePress without a secondary language.
One of our most common support requests is how to change some text that the plugin is outputting (i.e. “Donate”, “Campaign”, “Donor”).
Our stock answer is for them to use Loco Translate or a bit of code. Neither one of these are perfect. With Loco Translate, the biggest problem is that sometimes the theme they are using may also be responsible for the bit of text they want to change, so they get confused.
TranslatePress makes it super easy to edit plugin strings or theme strings with just a few clicks. Below are the exact steps you need to take:
Edit Plugin Strings
First let’s install TranslatePress from wordpress.org. You can either download the plugin or install it from the WordPress plugin dashboard.
On the settings page for TranslatePress, disable the “Floating language selection” so you don’t get the Language Switcher on every page.
You can start to edit plugin strings that are used in the front-end. Like changing the WooCommerce “Dashboard” to “Account”.
Can I view the site as a non-logged in user?
Currently no, but it is on our to-do list.
[UPDATE] This is now possible using our pro addon: Browse as User Role.
While changing between Logged In / Non-Logged in will probably be part of the core plugin (UPDATE: It already is), we’ll also have an advanced addon where you can navigate the plugin based on a particular user role.
Can I export .po and .mo files
This feature is on our development list and will be part of another addon in the future.
Using TranslatePress like a PO file editor will be a big part of TranslatePress and will get our full attention in the near future.
Not all strings are translatable? Why?
Only strings loaded through gettext filters are being enabled for translation. The rest should be user generated, meaning you should change them from your theme or plugin interface.
Does this work with my plugin or theme
Yes. It works with any plugin or theme that uses gettext functions correctly, making it really simple to make that last small change to your web copy.
Keep in touch!
We'll only notify you of new articles, special promotions and updates. No spam!