How can I keep translations when updating the theme?

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

  • Avatar: AnimalShop
    Renè Bavnild
    Participant
    December 14, 2020 at 13:38

    I translate the content of my website to Danish using Loco Translate in order to serve my Danish customers. However, when i update the theme, it resets to English and I have to translate it all back to Danish once again.
    Is there a way of preserving the translations when updating?
    See screndump.

    Please, contact administrator
    for this information.
    1 Answer
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    December 14, 2020 at 13:43

    Hello,

    Translation files of the theme should be placed in /wp-content/languages/themes/ folder, with correct names, as mentioned here – https://www.8theme.com/documentation/xstore/theme-translation/base-theme-translation/

    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. Also, do a backup of all the files before any update – https://www.8theme.com/documentation/xstore/theme-installation/theme-update/

    Regards

  • 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.