Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Dashboard
    Bestellungen
    Addresses
    Kontodetails
    Abmelden

    Hello Ru (not Ru? Sign out)

    From your account dashboard you can view your recent orders, manage your shipping and billing addresses and edit your password and account details.
    —-
    This is what is displayed on my German page. Only 3 tabs are displaying in German rest everything is displayed in English.

    All the strings are translated in Loco translate but not displayed.

    I have tried everything you have mentioned.

    I have tried to put the .mo file in language/woocommerce
    I have tried to put the .mo file in language/plugins

    I tried adding the function in my child theme function.php

    function load_custom_plugin_translation_file( $mofile, $domain ) {
      if ( 'textdomain' === $woocommerce ) {
        $mofile = WP_LANG_DIR . '/woocommerce/woocommerce-' . get_locale() . '.mo';
      }
      return $mofile;
    }
    
    -----
    
    Also tried:
    
    function load_custom_plugin_translation_file( $mofile, $domain ) {
      if ( 'textdomain' === $woocommerce ) {
        $mofile = WP_LANG_DIR . '/plugins/woocommerce-' . get_locale() . '.mo';
      }
      return $mofile;
    }

    [Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been damaged by the forum’s parser.]

    Nothing worked!!

    Where am i going wrong??

    That does not answer my question, can you guide me where to put my translated .mo file ? to get the translation work as before?
    Is there a way i can send you maybe the screenshots to show you the problem. ?
    My site is still not live so i can not give you the link to see it.

    I would highly appreciate if you can help to resolve this.
    I am not as tech savvy as you.
    Thanks

    Hi,
    I completely understand what you mean.
    However the strings i am talking about were already translated and now not displaying in second language as before. So what is the work around this problem? The woocommerce endpoint tabs in MY Accounts with new update don’t show translation. I have synced my strings and the strings i am talking about are translated in loco translate already, however there are not correctly displayed. Where do i put the .mo file?
    I have already tried wp-contents/languages/plugins/
    I tried putting it in languages/woocommerce
    But nothing worked. As mentioned before rest all the translations work. The problem is only with the new tabs and the message string on the MY Accounts page.

    What should i do?
    Thanks – Ru.

    Hello,
    Thanks for the reply.
    However i have tried everything as mentioned.
    There is a bug in the new 2.6.1 update.
    The translations works perfectly before the update and as soon as i update the MY Accounts page shows new tabs: Dashboard, orders, Address, Account details, Logout and the string Hello abcd (not abcd? Sign out)

    From your account dashboard you can view your recent orders, manage your shipping and billing addresses and edit your password and account details.

    This is all displayed in English language only.

    Before update everything worked perfectly fine.

    Kindly help.

    thanks – Ru

Viewing 5 replies - 1 through 5 (of 5 total)