r43: Added information regarding language packs.
[bugdar.git] / docs / language_packs.txt
1 LANGUAGE PACKS:
2
3 The new language system in the database should work fine, however I don't want to use XML for the system as it will limit the number of installs that could be done due to not everybody compiles --with-xml.
4
5 To find a way to import language packs, we should use just a standard PHP file. Like the old language system that used locale/en.php, this would create a language pack for importing/exporting. It has two arrays ($cfg and $language) that would hold all the data, and then the system would merely import it. We'd use the engine in docs/lang_file_to_db.php to handle the importing after we found some ways to prevent security issues.
6
7 RECAP:
8
9 - Language packs as PHP (locale/en.php format)
10 - Use docs/lang_file_to_db.php engine as the importer
11 - Create export script that creates the PHP language packs
12 - Importing is done via ACP by uploading (?) and linking
13
14 SVN: $Id$