From f7df0695380ca4d4165ea5cc7514abb4efebead0 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 2 Jan 2005 03:13:01 +0000 Subject: [PATCH] r43: Added information regarding language packs. --- docs/language_packs.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 docs/language_packs.txt diff --git a/docs/language_packs.txt b/docs/language_packs.txt new file mode 100644 index 0000000..1aa54f0 --- /dev/null +++ b/docs/language_packs.txt @@ -0,0 +1,14 @@ +LANGUAGE PACKS: + +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. + +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. + +RECAP: + +- Language packs as PHP (locale/en.php format) +- Use docs/lang_file_to_db.php engine as the importer +- Create export script that creates the PHP language packs +- Importing is done via ACP by uploading (?) and linking + +SVN: $Id$ \ No newline at end of file -- 2.22.5