• I’m using the Memberpress plugin and this plugin uses the _ex translation function to translate the signup fields and other fields.
    For example: <label><?php _ex(‘First Name’, ‘ui’, ‘memberpress’); echo ($mepr_options->require_fname_lname)?’*’:”;

    When I set the WordPress language in Settings>General to Spanish, memberpress signup forms appear in english but when I set the WordPress locale to English and then switch the language of the website to Spanish with qTranslate, the signup form stays in english.

    Isn’t qTranslate supposed to pull the es_ES locale of the memberpress plugin when switching to spanish?

    Memberpress does not come with a json config file so I don’t know how to use the _ex function to translate the plugin to spanish when switching language.

    • This topic was modified 9 years, 7 months ago by psdbox.
Viewing 1 replies (of 1 total)
  • Thread Starter psdbox

    (@psdbox)

    I managed to solve the problem myself. Looks like I just had to create a languages fonder inside the plugin directory and put my .po and .mo files inside and done 🙂

Viewing 1 replies (of 1 total)

The topic ‘Translating strings with _ex function’ is closed to new replies.