Home Forums Theme Support Dokan Where to translate?

This topic is: resolved

This topic contains 7 replies, has 3 voices, and was last updated by  Sekander Badsha 4 years, 10 months ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #22625

    Gustav
    Member
    Post count: 8

    Hi,

    I've translated almost everything and it works great but I can't find where to translate some text (can't find the text in the .po file):
    – Store Product Category (in your store)
    – Review and Order (seller dashboard > dashboard)
    – The field text “store name” (seller dashboard > settings)
    – The text under “Checkout” but this is maybe Woocommerce thing?

    Can you help me where to translate this text? 🙂
    Thank you!

    #22651

    Sekander Badsha
    Member
    Post count: 2067

    Hello Gustav,
    You can find the language file in ‘wp-content\plugins\woocommerce\i18n\languages'. See if your language is there or not. If yes, then download your language.po and edit with poEdit. And upload them in the same folder. That should work.

    Let me know if you have some more issues.

    #22656

    Gustav
    Member
    Post count: 8

    Thanks but I cant find the text there either (checked both woocommerce admin and my language .po file)

    #22672

    Sekander Badsha
    Member
    Post count: 2067

    As you said earlier, some strings are not translated, so it's obvious the .po file would not have the translations 😛
    You have to translate those strings YOURSELF. Please follow the instructions I gave above. 🙂

    #22691

    Gustav
    Member
    Post count: 8

    I dont understand, I cant find the sentence “Store Product Category” (in english) in the .po files so I cant translate it to my language. Its missing. Ive checked wp-content\plugins\woocommerce\i18n\languages and the .po file but its not there. Is it possible to add a new string with the sentense in english and my language?

    #22693

    Gustav
    Member
    Post count: 8

    Woho! It was a bug in Woocommerce. 🙂 I talked to them yesterday and they released a new version today with a bug fix so now the translations in “checkout” is OK :). The only sentence now that is not translated is “Store Product Category”.

    WooCommerce 2.1 update ignores language preference

    This issue is now resolved in the WooCommerce 2.1.1 fix release.

    We’ve made an error when adding the language files. The country codes didn’t reflect the WordPress standards. We have now fixed this and the 2.1.1 patch release will contain the correct language code.

    You can apply a temporary hotfix by renaming the language files for your language, inside the WooCommerce core plugin. It should reflect the correct code as shown in the standards. If you are on the Spanish language for example, you need to rename the ‘woocommerce-admin-es.mo’ and ‘woocommerce-es.mo’ files to include the ‘ES_es’ country code. The correct file names are ‘woocommerce-admin-es_ES.mo’ and ‘woocommerce-es_ES.mo’. These files can be found in the ‘i18n/languages’ folder of the WooCommerce plugin.

    Ticket reference: #4708

    #23563

    roderswiss
    Member
    Post count: 63

    Hello Gustav, I'm getting the same issue as you. Could you find a way to translate “Store Product Category” at all?

    Wedevs guys please give us a light here.

    Regards.

    Rodrigo

    #23688

    Sekander Badsha
    Member
    Post count: 2067

    Hello Roderswiss and Gustav,
    Here is the updated pot file for Dokan. Download the file and replace the old one. https://db.tt/HNIvgqdA

Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘Where to translate?’ is closed to new replies.