Development
Languages
VideoDB already comes with a lot of languages, but if your's isn't supported why don't you become a translator?
The first thing you should do is to join the Developer Mailinglist at SourceForge to stay informed when new language strings are added.
To create a new language file just copy the en.php
file in the language
directory and translate the all the contained strings to your language. I think you'll get the system when you have a look at it ;-).
However pay attention to the $lang[encoding]
field. This contains the character encoding you used in the file. You may use another encoding than iso-8859-1
. See the bg.php
as an example.
You should adjust the the header at the top of the file to reflect your authorship, too. ;-). When updating or correcting a file of someone else just add another @author
line with your name.
After translation you should send the file to the mailing list to be included in the next release.
Sometimes translations get slightly behind the english version. Missing translations will are always replaced by the english strings.
Hint: The langcheck.php tool can be very helpful to see a list of missing translations