WordPress.org

Support

Support » Plugins and Hacks » Job Manager » [Resolved] Only changing Job Manager's language

[Resolved] Only changing Job Manager's language

  • Hi,

    Is there any way I can use Job Manager’s Portuguese translation without setting my entire WordPress installation to Portuguese?

    I have access to all the config / php files and am happy to edit those if that’s the solution. The only issue is that I have no idea where to start looking.

    Any ideas?

    Thanks,
    Ale

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Gary Pendergast

    @pento

    I’m not aware of any way to do this. Job Manager users WordPress’ built in translation handling functions, so it obeys the global language setting.

    Someone more familiar than I with i18n may know of a workaround for this.

    Hi, thanks of taking your time to respond, I’ve found a hack work around which I’m happy with.

    For anyone else interested here is what I changed the method “jobman_load_translation_file” to the following (note the method is found in the functions.php file):

    function jobman_load_translation_file() {
    global $locale;
    $locale = “pt_BR”;
    load_plugin_textdomain( ‘jobman’, ”, JOBMAN_FOLDER . ‘/translations’ );
    $locale = “”;
    }

    Plugin Author Gary Pendergast

    @pento

    Nice one, thanks for the update!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Only changing Job Manager's language’ is closed to new replies.
Skip to toolbar