I've created a component and am including some translations with it, I've created the language ini files, somehow however I found out that it only works if I leave the first line in this ini empty?
Is that the way it was supposed to be ?
It doesn't say anything about an empty line in the docs:
So is this a bug or a feature ?Language File Formats
Prior to Joomla! Version 1.5, site translation was handled by a single php file for each language using php constants. In version 1.5 the file format has changed to the ini file format which is much simpler. For example:
ALIAS=translated text string
Note that the ALIAS must be in all uppercase.
In English, the alias and the text are typically the same for short words. For longer words and phrase, the alias may be a shortened key to reference the full phrase. For example:
YES=Yes
NO=No
ERRORNONAME=Please enter a name
TIPCOPYFROM=Select an existing language to copy to create the new files
All of the ini files should be encoded and saved as having UTF-8 encoding. The BOM is not required and should not be used. (BOM stand for Bit Order Marker and is a small header to indicate that the said file is using UTF-8 encoding. This can cause errors in a PHP web application and is not used or required. Some editors offer to add BOM)