• Default address fields that are optional aren’t using translation for the word “optional” as it’s hardcoded in the following location:

    wp-content/plugins/woo-checkout-field-editor-pro/block/class-thwcfd-block.php:177

    Related, it looks like the plugin uses separate translations for every field label e.g. “Email address (optional)” instead of separating the “(optional)” part so that it would use default translations.
    This can be seen in the get_default_block_fields() function.
    Because of this, all fields need to be re-translated even when not changing labels and translations work fine without the plugin.

    • This topic was modified 10 months, 3 weeks ago by Olli Kousa. Reason: clarification about implications of the second issue
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Elena

    (@elenathemehigh)

    Hi,

    We have already identified the issue you have mentioned, and we will be adding the fix for this in the upcoming version of our plugin.

    If you would like to get this sorted urgently, please feel free to submit a support ticket through our website. Our technical team will be happy to assist you promptly by providing an updated plugin file.

    Thank you!

    Plugin Support Elena

    (@elenathemehigh)

    We are glad to inform you that we have released a new version of our plugin Checkout Field Editor for WooCommerce(2.1.4) in which we have fixed this issue.
     
    Kindly update the plugin to its latest version and verify from your side.

    Thank you!

    eleonoramazzocchi

    (@eleonoramazzocchi)

    Hi Elena,

    I encountered the same problem reported by Olli Kousa.

    I installed version 2.1.4 of your plugin on my website, but once I modified the basic labels (Company Name and Phone, translated in italian), the (optional) part is not translated when a field is set as optional.

    I also tried searching for this part with Loco Translate, but I can’t identify it. Can you help me solve this?

    Thanks, best regards, Eleonora

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

The topic ‘Block field “(optional)” not translatable’ is closed to new replies.