Forum Replies Created

Viewing 15 replies - 46 through 60 (of 61 total)
  • Thread Starter alphax

    (@alphax)

    Hi @braehler

    Thanks a lot for your hint with regards to the child theme, this gave me to understand that theme translations have higher priority. Whilst I didn’t have any child-theme translation, I found a a .mo and .po translation file in the parent theme folder (within /languages).

    I renamed them to inactivate and found out when refreshing the page that they are indeed providing the translation. So it all makes sense why nothing on the plugin level was working. Finally a big step forward, thanks a lot!!

    I then downloaded the de_DE.po and de_DE.mo from the parent’s languages folder, made a string edit and uploaded them to a new ‘languages’ folder in the child-theme. After googling I found out that you also have to add the following template code to the child-theme functions.php:

    function my_child_theme_locale() {
        load_child_theme_textdomain( 'total', get_stylesheet_directory() . '/languages' );
    }
    add_action( 'after_setup_theme', 'my_child_theme_locale' );

    However, the child-theme is still not showing the new translation from the child-theme. When I upload the new files to the parent’s ‘languages’ folders, it works and the translation is shown. So somehow the child-theme translation files are not being loaded.

    Would you know what the issue could be?

    Many thanks,
    David

    Thread Starter alphax

    (@alphax)

    Could someone please help to make the translation work?

    Thread Starter alphax

    (@alphax)

    Follow-up:

    I have also just now installed Loco translateand translated the string and saved it (also emptied server and browser cache). However, it’s not having any effect either.

    It seems that WP Job Manager is forcing it’s own core translation without allowing other translations.

    Thread Starter alphax

    (@alphax)

    Hi @bindlegirl

    Thank you for your answer.

    So you are saying it’s not the core translation files that are shown (which may be saved somewhere else that I don’t know of)?

    As you suggested, I have cleared my server (and browser) cache few times. I have also deleted the wp-job-manager-DE .mo and .po files in the two translation locations. However, I’m still seeing the German core translation.

    Where are the core translation files saved?

    Shouldn’t any wp-job-manager-DE .mo and .po files in either of the folder locations (within wp-content/languages) supercede / have higher priority over the core default translation?

    I really struggle to understand why the translation of this plugin is so frustratingly difficult.

    I’d very much appreciate any help to resolve this soon.

    Many thanks,
    David

    Thread Starter alphax

    (@alphax)

    Hi @bindlegirl

    thank you very much for your answer.

    I already had my two files
    wp-job-manager-de_DE.mo
    wp-job-manager-de_DE.po

    in the folder wp-content/languages/plugins/ without effect.

    I didn’t have my translations in wp-content/languages/wp-job-manager but for testing have created the folder as well and uploaded in there, again without effect.

    To test things further, I have deleted the .mo and .po DE files in both folders again and the default German translation is still there.

    So I’m lost where the current German translation is coming from.

    I have set my WP page to German and I understand that German is by default already available by the WPJM (= a core translation). So my best guess is that the core translation is providing the German translation and the file must be saved somewhere else. I already had a look in wp-content/plugins/wp-job-manager/languages but there is only one .pot file (no German files).

    To summarize:
    * wp-content/languages/plugins/ => no German translation file other than mine
    * wp-content/languages/wp-job-manager/ => no German translation file other than mine
    * WPJM is still somehow translating into German

    It would be really great to resolve this soon and I’d much appreciate if someone could please help me!

    Thanks
    David

    Thread Starter alphax

    (@alphax)

    @cena Could you please help me on the above?

    Many thanks
    David

    Thread Starter alphax

    (@alphax)

    Hi @cena

    Thank you for your response!

    (1) My POedit automatically generated a new .MO file.

    (2) I haven’t done that as I followed the advice on https://wpjobmanager.com/document/translating-wp-job-manager/ where it states:

    Put Translations Inside the WP_LANG Directory
    If the plugin supports it (WP Job Manager 1.18.1 does, and so do the latest add-ons) you can put your po and mo files in the WP_LANG directory which will keep them safe from updates. This is usually the wp-content/languages/ directory.

    So for example, if you were translating the Resume Manager add-on, you would put your mo file in wp-content/languages/plugins/wp-job-manager-resumes-LOCALE.mo, replacing LOCALE with your language code.

    Given, I do want to protect my translations / .mo files from updates, I have followed this guidance.

    Could you please clarify why this is incorrect and if I follow your guidance (which is indeed also on top of the documentation page) how I would protect my translations?

    Thank you very much!

    Kind regards,
    David

    Thread Starter alphax

    (@alphax)

    I have bought the plugin and required support assistance. Happy to say the support is really good – speed varies between 1h and days but generally very helpful. Glad I bought it even though I never got a response to my pre-sale questions.

    @hongmuyuan do you mind sharing with the community?

    Thanks!

    Thread Starter alphax

    (@alphax)

    Got it! Thanks a lot!

    I didn’t see the “E-Mail” link at the top at all.

    Thread Starter alphax

    (@alphax)

    Thank you! I guess that could be a potential work around. I have actually decided to rather simplify and take out the modal instead.

    Thanks again!

    Thread Starter alphax

    (@alphax)

    Hi @braehler

    Thank you for your response!

    I had another look at the code of the job-dashboard.php and to me it looks to only include the code for the job-dashboard page but not the EDIT page (which is a completely separate page loaded when you click on “edit” on the job-dashboard page).

    See this screenshot as an example: https://ibb.co/W5hDjvh

    An help on this would be much appreciated!

    Thread Starter alphax

    (@alphax)

    Thank you @braehler ! I’m just worried of not getting any support from them if they don’t even reply to customer queries. But if you’re experience has been positive I’ll reconsider!

    Many thanks!

    Thread Starter alphax

    (@alphax)

    Got it – thank you very much for your help!

    Thread Starter alphax

    (@alphax)

    Hi @braehler

    the [job_dashboard] shortcode was all I needed I think. It works now – thanks a lot!

    Could you just clarify one last thing, i.e. what you meant by saying that I have to select the page in the settings tab?

    Thanks
    David

Viewing 15 replies - 46 through 60 (of 61 total)