Lose translations of theme and xstore core plugin

This topic has 2 replies, 2 voices, and was last updated 2 years, 5 months ago ago by Rose Tyler

  • Avatar: BeMa
    BeMa
    Participant
    November 19, 2021 at 13:10

    Hello,

    Every time we update the theme and xstore core plugin, we lose the translations made with Loco Translate. It has already happened to us twice, even the translations made in the child theme.

    We await your comments.

    Thanks

    Greetings

    1 Answer
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 19, 2021 at 13:14

    Hello,

    You need to translate the parent theme. The child theme should be translated only in case you added custom code in child theme that includes localization functions. To prevent the translation loss after updates, make sure you placed translation files of the theme into the /wp-content/languages/themes/ folder with correct names (language name and xstore theme suffix, e.g xstore-de_DE.po, xstore-de_DE.mo).
    System location – https://prnt.sc/woup5x
    XStore core plugin – wp-content/languages/plugins folder.
    NOT to wp-content/themes/xstore/languages (wp-content/plugins/et-core-plugin/languages) folder.

    Regards

  • Viewing 2 results - 1 through 2 (of 2 total)

The issue related to '‘Lose translations of theme and xstore core plugin’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.