1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to upgrade a language-pack?

Discussion in 'XenForo Questions and Support' started by bart, Apr 2, 2013.

  1. bart

    bart Active Member

    I installed a language-pack and all was fine.

    I changed some phrases here and there.

    Now there is an upgrade...

    How do I install this upgrade and keep the phrases I changed?
    erich37 likes this.
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Upgrade it then revert and re-edit your custom phrases again as required.
  3. bart

    bart Active Member

    Nothing I can do to keep the custom phrases?
  4. bart

    bart Active Member

    (in the future?)
  5. Brogan

    Brogan XenForo Moderator Staff Member


    If templates are marked as outdated then they need to be reverted and re-edited.
  6. Mike

    Mike XenForo Developer Staff Member

    Put your edits in a child language.
    erich37, bart and Brogan like this.
  7. Brogan

    Brogan XenForo Moderator Staff Member

    Apart from that.
  8. bart

    bart Active Member

    That's it!

    (for the future)

  9. dutchbb

    dutchbb Well-Known Member

    bart likes this.
  10. bart

    bart Active Member

    Heee, thanks for all your work in translating! I wouldn't have known where to start.
  11. erich37

    erich37 Well-Known Member

    Would it be correct to do it like this ?

    export your "custom language" as XML-file.

    upgrade software

    upload a full language-package which has ALL phrases of the new XF-version (e.g. a fully translated language-file).

    import your "custom language" XML-file and select "overwrite language" (not sure if I need to select "overwrite language" or anything else ?).

    I guess this is the best and correct way to do it ?

    Morgain likes this.
  12. bart

    bart Active Member

    One more quesiton.

    I have a parent languge someone else updates.

    I have a child-languge where I make changes to the default languge.

    But now I want certain phrases to NOT be translated. Like: "everything in the control-panel".
    It doesn't seem to work to blank that phrase in the child-language, and I don't want to blank them in the parent language.
    is there a way to do that in the child-language?
  13. Brogan

    Brogan XenForo Moderator Staff Member

    Unedited phrases will always inherit from the parent so the only way would be to edit the phrases in the child style which would result in them not being overwritten during an upgrade but marked as outdated instead.
  14. bart

    bart Active Member

    Okay, one last thing.

    - i have a parent language translated by someone else
    - i have a child-language for my own translations

    Now how do I translate an add-on with a lot of phrases? I want to do it directly in the xml, because it takes way to much time to do it one by one (hope you change that system once).

    If I download the child with all the untranslated phrases, I get way to much info.
    If I download it without the phrases I don'[t get the phrases i need to translate.

    What would be the best way to proceed if i don't want to translate those phrases in an upgrade?
  15. Mike

    Mike XenForo Developer Staff Member

    You should just export the language with untranslated phrases only for the add-on that you want to change.
  16. bart

    bart Active Member

    Aaarghhh. I totally missed that possibility!


Share This Page