• My site is set to french canada in WP general setting. Woocmmerce general translation are ok. But YITH themes specific are not.

    As an example, in the account info page. Text: Shipping info & address is in eng.

    Saw that there was no french po file in \wp-content\themes\yith-proteo\languages. So I’ve created one. Added a file called yith-proteo-fr_CA.po in \wp-content\themes\yith-proteo\languages

    But still, the translations arent working.

    Tried to change WP general setting to spanish to see if spanish translation are working. There was already an yith-proteo-es_ES.po file in \wp-content\themes\yith-proteo\languages. Nope.

    Well well….

    Do I need to run something after putting the file? Or do I need to choose Fr Canada in some oter WP settings? Theme settings maybe?

    Any help appreciated!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Francesco Grasso

    (@francgrasso)

    YITH Support Representative

    Hello there,
    please move your custom language files to wp-content/languages/themes/

    This is the right place to put customized translations

    Thread Starter beauvafr

    (@beauvafr)

    Hello. Thanks!

    But are you sure?

    In this folder, there is only 3 YITH translations file, and no english :

    yith-proteo-es_ES.l10n.php
    yith-proteo-es_ES.mo
    yith-proteo-es_ES.po

    However, ?/wp-content/themes/yith-proteo/languages there is a lot (7)
    See here https://imgur.com/a/tbIqIIF. And there is a readme file in this folder that says: Place your theme language files in this directory.

    Also, what is the correct way to generate a new one? According to the Proteo doc on Github page, we are supposed to generate one here: https://translate.www.ads-software.com/projects/wp-themes/yith-proteo/

    However, the generated .po file from this is very different from yith-proteo-es_ES.po present in wp-content/languages/themes/ or ?/wp-content/themes/yith-proteo/languages.

    Also, how should we name it correctly? Do we have to add l10n at the end?

    So

    1. Which folder exactly? Whats is the difference between both
    2. How to generate a new one
    3. How to name it correctly
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.