• Resolved Octopixell

    (@octopixell)


    Hey guys,

    I’m wondering, is there a way to force a certain localization to be loaded on the front-end of the plugin?

    The problem i’m having is that the backend needs the WP Dutch localization but the front-end of the website is English. At the moment because of the Dutch back-end WP-Members is also Dutch. I want it to render English in the front-end though.

    Any way to do this?

    Thanks in advance.
    Octopixell

    http://wordpress.org/extend/plugins/wp-members/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Octopixell

    (@octopixell)

    Bumping this topic. Anybody know how to get this done?

    Plugin Author Chad Butler

    (@cbutlerjr)

    That’s going to be a functional challenge for a number of reasons.

    In order to run the plugin in a specific language, you need to be running WordPress in that same language. So, while you may be able to spoof things for the plugin using the method that I’m about to describe, there may be other issues as a result.

    The only way I could think of to do this would be to create custom localization files. So you would need to be running WordPress (an therefore the plugin) in Dutch. Then you could edit the appropriate .po in the plugin’s /lang/ folder to ignore all of the strings that would be front-end translations, leaving the strings that are for the backend. Generate a new .mo file from that.

    Thread Starter Octopixell

    (@octopixell)

    I see! I’ll give that a try, thanks for the reply!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Force localization?’ is closed to new replies.