• Resolved Pavel Kuznetsov

    (@pavel-kuznetsov)


    Hello Mike, i have localization problems both in wp-job-manager and wp-job-manager-resumes … I have updated .pot file from new versions and i saw translated strings in .po and .mo files, but on my site they showing not localized. For example, these strings not translating in wp-job-manager: “Your listings are shown in the table below. Expired listings will be automatically removed after 30 days.”, “Date Expires” and in wp-job-manager-resumes: “Your resume(s) can be viewed, edited or removed below.”

    Thank you for support!

    https://www.ads-software.com/plugins/wp-job-manager/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Mike Jolley

    (@mikejolley)

    The string is definitely ready: https://dl.dropboxusercontent.com/s/uur4j50225tsjg9/2015-03-31%20at%2020.22%202x.png?dl=0

    Ensure you rescan pot, translate then create MO again. Strings are also case sensitive, just in case thats it.

    mother.of.code

    (@imazed)

    The Mother of Code

    Hi Mike,

    I’m actually seeing the same thing. Tried searching through various .pot files, rescanned the lot, came up with nothing on the “Your resume(s) can be viewed, edited or removed below.” string. I used the following to replace the string manually as a quick fix but need to dive into this a bit more to find a real solution:

    add_filter('gettext', 'translate_text');
    add_filter('ngettext', 'translate_text');
    
    function translate_text($translated) {
        $translated = str_ireplace('Your resume(s) can be viewed, edited or removed below.', "Your translation here", $translated);
        $translated = str_ireplace('Your resume can be viewed, edited or removed below.', "Your translation here", $translated);
        return $translated;
    }
    Plugin Author Mike Jolley

    (@mikejolley)

    @imazed it’s definitely POT related. POT is in plain text, so you can search it in your text editor if you wish. Also remember, some themes include these strings themselves, so both theme and plugin need translating.

    Hello Pavel,

    have you by any chance, have you by any chance solved this issue?
    I’m using Polylang on a multi-language website and all my pot, po and mo are updated and synced. All the required strings are translated in the theme (Listify) or WP Job manager plugins but still without success for the strings mentioned above:
    – your listings are shown in the table below
    – date posted
    – listing expires
    – delete
    Surprisingly the listing title is translating (“Titre” in Fr), same for the date format.
    Thanks for your tips,

    Regards

    Plugin Contributor Adam Heckler

    (@adamkheckler)

    @guiyom: Please create your own thread per the Forum Welcome policy:

    https://codex.www.ads-software.com/Forum_Welcome#Where_To_Post

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Localization problem’ is closed to new replies.