[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"> 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. |
All times are GMT. The time now is 06:30 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|