Home Forums WoodMart support forum traduction

traduction

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #287848

    ghisleghis
    Participant

    hello when we update the theme goes back to english. However, we use a child theme but translates the parent theme. We cannot translate the child theme with loco translate because the Po file appears empty.

    #287955

    Hello,

    Theme translations would be lost when you update the theme. That’s why we always Recommend to take a complete backup of the website before updating the theme.

    Let me explain again. Let’s take an example you are using English for US language on your site, and the language files are en_US.po and en_US.mo, Now rename those files as woodmart-en_US.po and woodmart-en_US.mo and place those language files under wp-content/languages/themes It will not be overridden again when ever you will update the Theme same as for other languages you are using.

    Best Regards

    #288613

    ghisleghis
    Participant

    hello thank you for your feedback but it does not work. If we rename our files as you told us, the translation no longer works. Second question, should it be added to the languages ​​child or parent languages ​​diossier? We also tried both.

    Thanks

    #288614

    ghisleghis
    Participant

    for info our files are named like this and our site is French in the settings

    woodmart-fr_FR.po

    woodmart-fr_FR.mo

    #289014

    Hello,

    Please provide the admin panel login details of the website to check it myself and help you out accordingly.

    Regards.
    Xtemos Studios.

    #289015

    ghisleghis
    Participant

    Hello

    #289048

    Hello,

    The language files are already named in the format as I suggested to you in my last reply.

    Now the translations will not be lost after you update the theme. Please take a complete backup of the website and try to update the theme.

    Regards.
    Xtemos Studios

    #304547

    ghisleghis
    Participant

    Should they be put in the child folder to avoid overwriting? and the woodmart.Pot file is useless?

    Thanks

    #304568

    Hello,

    No, the translation file doesn’t need to be put in the child folder. And the .POT file is the main translation file,it’s not useless.

    Regards.
    Xtemos Studios

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