• Resolved adamivsviatoslav

    (@adamivsviatoslav)


    Good afternoon, I have a problem with translating strings in woocommerce js files, they are not translatable. Everything remains in English, but where the translation php all perfectly translated.

    My translation file is located in the folder: languages/plugins/woocommerce-uk.po

    I wanted to translate the “Remove item” string, which is in the assets/client/blocks/cart-blocks/cart-line-items-frontend.js file in the woocommerce plugin. There I found this code:(0, i.__)("Remove item", "woocommerce"). And by idea it should be translated, as it is a registered string. But for some reason these strings are not translated. In the file where po and mo translations are, there are many json files like this: woocommerce-uk-2b9ad1ee5266e82cfc566a86f6541d13.json

    I can give any information that will help this, just ask. Because it’s not the first time I’ve encountered this, but now I want to figure it out so I can translate these lines easily and simp

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘String in woocommerce scripts not translating’ is closed to new replies.