Avoid losing the translation – Update plugins / theme

Home Forums Legacy Support Support queries Translation issues Avoid losing the translation – Update plugins / theme

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #220779
    tuaptitud
    Spectator
    Hello, As you can avoid losing the translation of the add-ons (or theme) and then updating them, (the update can be automatic or manual). What is the best way to keep the translations and perform. I use loco translator. Thnks you.
    #220806
    logan
    Member

    if we talk about the translation loss. yes on every update local files will be affected so that you need to put these translated files into global folders. it will prevent string loss from the update.

    here is how you can achieve this.

    Note: in this, I am using my local test setup site language which is "Português do Brasil". you have to select your site language.

    Always sync and save the pot file refer: http://prntscr.com/ng3kbk

    Note: Always copy local .Po | .Mo files into the global folder. it will prevent from translation string loss while updating theme/ plugins.

    How could you do this: https://screencast-o-matic.com/watch/cqfQh6ZllK

    In this video, 

    1. i have checked the site language from wp-admin > settings > general > site language.
    2. then goto wp-admin > loco translate > theme/plugin > theme name / plugin name.
    3. Copy author file to system file.
    4. the author stands for local file and system stands for the global file.
    5. once your done copying. from now you have to translate a string in global (system) file.

    These steps should be followed for all plugins and theme in which you are making any changes.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Avoid losing the translation – Update plugins / theme’ is closed to new replies.