Home Forums Theme Support Dokan can't change language some points!

This topic is: resolved

This topic contains 9 replies, has 3 voices, and was last updated by  Anas Basalamah 4 years, 9 months ago.

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #24438

    vu thap
    Member
    Post count: 51

    I can't change language menu: (not exist on DOKAN.pot)
    STORE PRODUCT CATALOG
    Please hepl me. Thanks you!

    #24441

    Anas Basalamah
    Member
    Post count: 160

    i had the same issue the solution as follows:

    You can add this on your language file: themes/dokan/languages/dokan.pot

    #: ../includes/template-tags.php:393
    msgid "Store Product Category"
    msgstr ""
    

    then you will find it in dokan.pot

    #24444

    vu thap
    Member
    Post count: 51

    oh. Thanks you so much Anas . it's resolved. But i edited direct on template-tags.php.

    #24445

    vu thap
    Member
    Post count: 51

    opp! have errors! Edit direct on Template-tags.php will be error!
    Warning: Cannot modify header information – headers already sent by (output started at /public_html/wp-content/themes/dokan/includes/template-tags.php:1) in /public_html/wp-includes/pluggable.php on line 1121

    dear Anas!
    You copied this code :

    #: ../includes/template-tags.php:393
    msgid "Store Product Category"
    msgstr 
    

    to Dokan.pot ? or your_language.Pot

    #24455

    Anas Basalamah
    Member
    Post count: 160

    it doesn't matter

    #: ../includes/template-tags.php:393
    msgid "Store Product Category"
    msgstr "" <--- here you but the translation 
    
    #24504

    vu thap
    Member
    Post count: 51

    An other point please !!!
    Billing Details on Check_out Page. Thanks!

    #24842

    Sekander Badsha
    Member
    Post count: 2067

    Here's the updated .pot file https://dl.dropboxusercontent.com/u/116120859/dokan.pot
    It has all the missing strings.

    #24856

    Anas Basalamah
    Member
    Post count: 160

    well still missing this

    #25195

    Sekander Badsha
    Member
    Post count: 2067

    Hello Anas,
    Open wc-functions.php which is located at “wp-content/themes/Dokan/includes/” replace 'woocommerce' with 'dokan'. If you have translated the whole file, then the translations will appear right after saving the file.

    Thank you for reporting the issue. And we'd be glad if you can send us the translated file to info@wedevs.com

    #25204

    Anas Basalamah
    Member
    Post count: 160

    i did that but it still in English anyway I translate it from the php file

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

The topic ‘can't change language some points!’ is closed to new replies.