Translation with loco translate disappear after theme update, solutions?

This topic has 2 replies, 2 voices, and was last updated 9 months, 1 weeks ago ago by Rose Tyler

  • Avatar: Smartstart
    Smartstart
    Participant
    February 13, 2024 at 21:13

    Hello,
    after theme update every translation I did disappear plugin and theme
    also please check the string the same string are in both plugin and theme

    1 Answer
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 14, 2024 at 08:32

    Hello, Smartstart,

    Thank you for getting in touch with us.

    1/ Translation files of the theme should be placed in /wp-content/languages/themes/ folder,
    plugins, like Core plugin, in /wp-content/languages/plugins folder,
    with correct names, for example, for XStore theme: xstore-tr_TR.po, and xstore-core-tr_TR.po for XStore Core plugin, then you will not lose translation after the update – https://www.8theme.com/documentation/xstore/theme-translation/base-theme-translation/
    We would recommend doing a backup of all the files before any update.

    Also, after every update, you need to synchronize translation – https://www.8theme.com/documentation/xstore/theme-translation/translation-files-update/ Sometimes new strings are added, and only after synchronization, you’ll be able to translate new strings or strings that were changed. Not always, but some strings can be missing after the sync and you need to find and translate them one more time, this is independent of us and relates to WP functionality.

    2/ Strings can be the same but they are responsible for tests in different places, so it is correct.

    If you have any additional questions or concerns, please do not hesitate to reach out to us. Our support team is always available to assist you.

    Best Regards,
    8Theme’s Team

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

You must be logged in to reply to this topic.Log in/Sign up

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