Back to vBulletin 3 Articles

[How-To] Deal with Hack-Translations (vBulletin 3.5 RC1 and up)
by Andreas 27 Jul 2005

Keeping the new Product Management in mind, I think more and more Hacks will start using Phrases, as it becomes relatively easy to distribute Hacks with Phrases for both the Developers and the Users.

Most Hacks are being written in English, but as they are being used in many Countries, there might be needs for Translations.

Although it's possible to just provide different Product XMLs for different Languages, it seems to be better to take advantage of vBulletins Language System.
This way, Hack authors can provide additional Language XMLs for their works, while maintaining just one Product XML, and still the User can select which language to use.
It also makes it easy for 3rd Parties to provide Translations.

Developers/Translators
The following instructions require Debug Mode being turned on.
To do so, place
PHP Code:
$config['Misc']['debug'] = true
in config.php

To create a Translation, create a new Language (if it's not already present) and translate your Hacks phrases from the MASTER Language.
When you're done, go to Languages & Phrases, Download / Upload Languages.

Select the Language that contains the translated Phrases, select your Product and make sure that Just fetch Phrases is set to Yes - then download the Language.

End Users
To install a Translation for your Hack, import the provided Language XML and overwrite your existing Language (eg. if the Translation is for French overwrite your French langauge, if it is for Italian overwrite your Italian language, etc.).
This will of course not harm any Language Options or other Phrases.

This How-To is (C) 2005 by KirbyDE and you are not allowed to redistribute it in any way without my explicit consent.

vblts.ru supports vBulletin®, 2022-2024