[vB3] prevent removal of custom phrases, when uploading a language pack

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Stadler
    Senior Member
    • Oct 2001
    • 1021
    • 4.2.X

    [vB3] prevent removal of custom phrases, when uploading a language pack

    If you're uploading a custom language pack (usually a translation) all custom phrases (usually from hacks you've installed) will be removed by default.

    To prevent this, you have to edit your language.xml-file applying the follwing changes:

    First look for a line similar to
    HTML Code:
    <language name="English" vbversion="3.0.0" type="custom">
    on the very top of the file and replace type="custom" with type="phrases".

    After that find everything from <settings> to </settings> and remove it.

    Save the file and now you should be able to upload the language to your Admin-CP without overwriting your custom phrases.


    Notes:
    For hackers: The create such a language first you have to enable debug-mode, which is recommended for hackers anyway . Then go to your Admin-CP -> Languages & Phrases -> Download / Upload Languages. There you choose the language to be downloaded and the filename for it and set Just fetch phrases (or however it is called in your translation) to Yes (Very important). If nothing went wrong you should have a language-pack, that won't remove any other phrases. (If you check the file it should look, as if you've applyed the changes stated above.

    Important Note: Never (and I mean never ) touch the so called 'MASTER LANGUAGE' (The language-file in your install-folder) and never try to upload a master-language that has not been designed for your vBulletin-Version. And don't add any custom-phrases to it (The same goes for the other master-files) or you'll regret it sooner or later.
    Hints & Tips:
    [[vB3] More Spiders / Indexers / Archives for vB3 - list]|[List of one-time-emails to ban]


    http://sfx-images.mozilla.org/affili...efox_80x15.png
  • Wayne Luke
    vBulletin Technical Support Lead
    • Aug 2000
    • 74172

    #2
    This is really more appropriate for over at vBulletin.org in the forum there. We don't recommend these kinds of changes since they could cause problems down the road.
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API

    Comment

    • Stadler
      Senior Member
      • Oct 2001
      • 1021
      • 4.2.X

      #3
      On the other hand you'd have users complaining about lost phrases, when they're upgrding their well hacked forum. There are many users who never read other forums, than the hack-forums and I tend to say including me, since I rarely view the other forums there.

      And I guess, that many if not most users check the vB.com-Forums first about possible problems with upgrading.

      Anyway: I guess, I'll post a similar thread at vB.org as well as the other hack-related communities later on.
      Hints & Tips:
      [[vB3] More Spiders / Indexers / Archives for vB3 - list]|[List of one-time-emails to ban]


      http://sfx-images.mozilla.org/affili...efox_80x15.png

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...