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

XF 1.4 How to reset multiple phrases

Discussion in 'Troubleshooting and Problems' started by giorgino, Jan 9, 2015.

  1. giorgino

    giorgino Well-Known Member

    I've a language schema like this:

    English (US) (this is the default language)
    Italiano Master (this is our master language containing the default version of the italian language used for upgrading the language file versions after versions)
    --> Italiano (Child of Italiano Master language and this is our customized version of the italian default language).

    Normally I import new versions of the language overriding Italiano Master, so I can retain my customized phrases in Italiano language, but yesterday I made a mistake importing a new language in Italiano.

    How can I reset the phrases contained in Italiano all at once?
    Maybe with a MySql query or something else?

    Thanks in advance
  2. Mike

    Mike XenForo Developer Staff Member

    The easiest option would be to export the language and simply remove everything from the XML that's inside the <language> tag (leaving just the empty outer language tag). Then import that over top the existing language.
    giorgino likes this.

Share This Page