• Resolved robertpokorn

    (@robertpokorn)


    Is localization/translation possible standard WP way? Or at least close to standard way.
    There is no .pot file, so I tried this way:
    I copied wc-Woocommerce-Catalog-Enquiry-en_US.po to wc-Woocommerce-wc-Woocommerce-Catalog-Enquiry-sl_SI.po.
    I translated it partially with Loco Translate, wc-Woocommerce-wc-Woocommerce-Catalog-Enquiry-sl_SI.mo file has been generated, but no effect – all text is still in English.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter robertpokorn

    (@robertpokorn)

    Solved
    Problem was with localization files location. I copied localization files to
    wp-content/plugins/woocommerce-catalog-enquiry/languages/
    and it works ??
    BTW, I like this plugin ??

    For my no work ??

    Thread Starter robertpokorn

    (@robertpokorn)

    Wrong filenames in your case, just rename filenames:
    es_ES.mo to wc-Woocommerce-Catalog-Enquiry-es_ES.mo
    es_ES.po to wc-Woocommerce-Catalog-Enquiry-es_ES.po

    e26

    (@tottinikk)

    Please,
    I have translated my po and mo files, and i’ve renamed with the sufix it_IT: now in my language folder there are 4 files: englis .mo / english .po / italian .mo / italian .po.
    But my frontend (and the text of the email message) is still in English!
    I’ve 2 questions:

    – How can I choose to show on my frontend the Italian version (italian .mo / italian .po)?
    – And.. how can I do in case of multi-language website?

    Thank you very much!

    This plugin is not correctly prepared for translation…

    Calls like this:
    __('Woocommerce Catalog Enquiry Settings',$WC_Woocommerce_Catalog_Enquiry->text_domain)
    Should be:
    __('Woocommerce Catalog Enquiry Settings','Woocommerce_Catalog_Enquiry')

    The text domain argument on the i18n functions should never be a variable or a constant but rather a string.

    Read this: https://github.com/DevinVinson/WordPress-Plugin-Boilerplate/issues/303

    Hi all,

    We would like to help you out. We think the best way to translate your own language is with PO editor, or such language translator.

    Thanks,

    Team Dualcube

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Localitzation & translation’ is closed to new replies.