Specification of language files
出典: Joomla! ドキュメンテーション
This page explains the changes of the language file specification from version 1.5 to 1.6/1.7. As this is currently under development it is not merged back to the central specification page.
1.7 is not introducing any changes in these 1.6 specifications.
The 1.5 specification is described in Creating a language definition file.
== Overview of changes in Joomla 1.6
==
- The KEY is now defined to be
- without any whitespace. All whitespace shall be converted into a underscore '_'
- All KEY's in the frontend shall include a prefix of the extension
Additional information from a new thread
So, the implications on ini file format:
- As previously mentioned, our keys will have to change. Spaces are not allowed. The general practice will be to use underscores for spacing. Also, the plan is to name space strings, so that you would end up with something like COM_EXAMPLE_MYKEY for your key. According to the php manual, The characters {}|&~