• Resolved baspisa

    (@baspisa)


    Hi,

    I don’t understand why my previous entry was closed earlier due to the fact I still encounter the same issues and solution was not yet provided, so here we go again.

    I encountered two issues so far with new release 3.4.0

    1st
    Just updated to WOO 3.4.0 and since then the word “shipping” on the checkout page is not being translated to “verzending” (Dutch) anymore. I am using Loco translate but this is not picking it up (as it was before)(I do see the entry in loco translate (and the traslation))

    I tested this on my site with all other plugins disabled, and MO’s and PO’s removed. The issue only shows when upgrading to 3.4.0. I do not encounter this issue on 3.3.5. (i rolled back several times)

    Also this happens in three of my shops all using different themes (including storefront) And one is not even loco translate so I would say that isn’t causing it either

    2nd
    On the checkout page where you set your address it is showing the word “optional” like this
    (optioneel) (optioneel) (optioneel) (optioneel)
    4 times in a row is a bit too much IMHO ??

    This also happens in all my shops (with different themes) and only on 3.4.0 and not on 3.3.5.

    Hope you can provide fixes

    Thanks in advance
    Bas

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • I have the same issue also and wont update the other sites before this gets official response.

    Thread Starter baspisa

    (@baspisa)

    Any updates on these issues? Can someone confirm that the 3.4.1. fixes this?

    Thread Starter baspisa

    (@baspisa)

    Just tested myself and 3.4.1. fixed both issues.

    Only thing now is that i needed to remove the word optional because the standard Storefront theme messes up my checkout with the additional number box (the Dutch word ‘optioneel’ is too long which forces the box downwards)

    fixed this with the following css

    .optional {
            display: none !important;
    }
    Plugin Support John Coy a11n

    (@johndcoy)

    Automattic Happiness Engineer

    Hi @baspisa,

    Happy to know 3.4.1 fixes this issue. You may want to consider reaching out to the author for Dispatch to ensure this issue doesn’t happen for anyone else with the same theme.

    Thread Starter baspisa

    (@baspisa)

    @john Coy it was not related to Dispatch, also happend on Storefront themes. Actually Dispatch was the only theme that i did not had to fix with the CSS ??

    Regards Bas

    It’s 3.4.4 now, but I’m facing the same issues with “Shipping” and “optional”.

    Fixed – if using Loco Translate plugin, ensure that Woocommerce’s .pot and .po files are synced, then just translate strings “Shipping [shipping package]” and “optional”.

    My understanding is that you would need to store the translation files in the custom location to avoid them being overwritten by updates. The downside of that is that you would have the ongoing burden of keeping your custom translations up to date forever more.

    Instead my suggestion is this code snippet:

    add_filter( 'woocommerce_shipping_package_name', 'custom_shipping_package_name' );
    function custom_shipping_package_name() {
      return 'My translation for shipping goes here';
    }

    This issue seems to come up regularly. Perhaps the Woo team could fix it in core.

    Yes, I’m hiding these translations for many years, but Woocommerce manages to find them and to mess things up after every update:) So the last thing I want to see is Woocommerce’s update poping out:) Thanks for your suggestion regarding translation (it works), but IMHO filters is not the best way to translate content.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘translation issue and the word optional is repeating’ is closed to new replies.