• Resolved mudem69

    (@mudem69)


    Hi,

    WooCommerce Deutsch (de_DE) translation works fine for me except the top navigation of my page, which still contains the english terms “item”, “checkout”, and “search products”.
    I use woo commerce 2.0.20 and the Theme “Mystile”.
    Any idea how to change them to german?

    I already tried the CodeStyling Localization, which did not work for me.

    https://www.ads-software.com/plugins/woocommerce-de/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author David Decker

    (@daveshine)

    @mudem69:
    Hi! ??

    These strings are from your theme . they have to be translated there — theme translation files…

    A lot of Themes bring their own WooCommerce template files and/or extra features with extra strings — therefore, these need to be translated extra…

    Using Codestyling Localization should work fine, search in this plugin at the end for the theme (themes are listed below…). Find those strings, translate and generate .mo file via Button.

    If that is not working, try the Poedit Editor https://www.poedit.net —> use the packacked .pot or .po file from Mystile, open with Poedit, save as de_DE.po to the same folder! Translate and save the de_DE again!
    After that you should have 2 files: de_DE.mo AND de_DE.po — upload both to the same language folder on your server. This should work as it is standard WP behavior for themes.

    Good luck!
    -Dave ??

    Thread Starter mudem69

    (@mudem69)

    Hi Dave,

    thank you so much for your feedback. I have downloaded Poedit and translated the .po file from my folder mystile/lang and added the de_DE.po and de_DE.mo back to this folder. But it is still not working.
    But I have discovered that there is another language folder at wp-content/languages/
    which contains a theme folder and many .po and .mo files. What is a .pot file? Because this is in the theme twentyfourteen/languages folder.
    I still do not fully understand the structure. Please help !

    Plugin Author David Decker

    (@daveshine)

    Hi!

    You have 2 alternatives — the 1st via the theme, the 2nd one is via global languages folder

    1)
    use this path:
    wp-content/themes/mystile/lang/de_DE.mo
    wp-content/themes/mystile/lang/de_DE.po

    when using a child theme of mystile then try this:
    wp-content/themes/mystile-child/lang/de_DE.mo
    wp-content/themes/mystile-child/lang/de_DE.po
    OR this:
    wp-content/themes/mystile-child/de_DE.mo
    wp-content/themes/mystile-child/de_DE.po

    2)
    use this path:
    –> note the file name change – important!
    wp-content/languages/themes/woothemes-de_DE.mo
    wp-content/languages/themes/woothemes-de_DE.po

    Either way should work — if the .mo/.po files were created correctly. Poedit creates/updates the .mo file on saving, and that file is the most important!

    .pot files are the very same as .po files they just contain the default strings and are saved as .pot to have a different file than a .po file to not mix them up ??

    For displaying, WordPress uses only the .mo file which is a binary format only machines can read… ??

    If these paths above do not work then it is an issue with theme and the WooThemes support should help.

    Hope that helps, Dave ??

    Thread Starter mudem69

    (@mudem69)

    Problem solved.
    Changes were visible with firefox browser but not with safari.
    Now it works fine also for safari.

    Thank you so much.
    I appreciate your help.

    Plugin Author David Decker

    (@daveshine)

    Great, glad it’s working for you now!

    I mark as resolved!

    Great weekend, Dave ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Translation issues with TOP Navigation bar’ is closed to new replies.