PDA

View Full Version : [Q] about language XML files


Sun Boy
01-01-2008, 07:04 AM
ok,
i am trying to do my own add-on phrases xml file for my own plug-in and i have a question about the language XML file
look at this
<phrase name="sort" date="0" username="" version=""><![CDATA[Sort]]></phrase>



this is one phrase of the official vbulletin-language.xml

is it ok if i want to add my own custom phrases to add it this way ?
<phrase name="resize_start"><![CDATA[Start conversion]]></phrase>
<phrase name="resize_check"><![CDATA[Show image]]></phrase>


as you see there is no data nor username nor version information there.
is it legal to write custom phrases without them ?

thank you for your time

Dismounted
01-01-2008, 09:19 AM
Turn on Debug mode and create "products". Also, once you've done that, add new phrase via the phrase manager, remembering to create phrases for the master language and select your product name. When you export, the whole process will be done for you.

Sun Boy
01-01-2008, 09:56 PM
sound like a plan
thanks man