Been thinking about this, don't expect most people will notice the difference, but I think it'll be quite important in the long run. It certainly simplifies a few things, and causes others.
Right now, there's Themes/default/languages/index.*.php where you have one file for each language, e.g. index.english.php. That's cool and all, but I want to move them.
Specifically I want to convert it to Themes/default/languages/*/index.php so that instead of the language being part of the filename, it's part of the folder.
On the one hand, it will provide a performance boost to installations with lots of languages by segmenting the files into folders rather than one big folder.[1] It does also simplify adding new languages from a folder permissions/upload/unpacking scenario.[2]
On the other, it means that whereas before with the list of languages being shown to users based on their filename, it makes it based on language and that's slightly more prone to being wrong.
<discuss />
Right now, there's Themes/default/languages/index.*.php where you have one file for each language, e.g. index.english.php. That's cool and all, but I want to move them.
Specifically I want to convert it to Themes/default/languages/*/index.php so that instead of the language being part of the filename, it's part of the folder.
On the one hand, it will provide a performance boost to installations with lots of languages by segmenting the files into folders rather than one big folder.[1] It does also simplify adding new languages from a folder permissions/upload/unpacking scenario.[2]
On the other, it means that whereas before with the list of languages being shown to users based on their filename, it makes it based on language and that's slightly more prone to being wrong.
<discuss />
| 1. | Mind you, there's 34 PHP files and 1 image per language. Less if it's based on English and makes use of English as a fallback. |
| 2. | That said, I've thought about not having an interface in the ACP for uploading a new language and expecting users to upload it manually. That, or ship Wedge with all known/available languages and just be done with it. Certainly, if it's in a folder it should be easier to upload manually. |





