The following warnings occurred:
Warning [2] Undefined array key "threadviews_countguests" - Line: 745 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 745 errorHandler->error_callback
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 916 build_postbit
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 861 postParser->parse_message
/showthread.php 916 build_postbit
Warning [2] Undefined property: MyLanguage::$thread_modes - Line: 46 - File: showthread.php(1650) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1650) : eval()'d code 46 errorHandler->error_callback
/showthread.php 1650 eval




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Automatic download of language files
#1
To simplify the language configuration for new users, I suggest to:
  • improve the Extend API with a function to return all language files, and
  • put all CKEditor language files into a publicly accessible area on get-simple.info

in order to implement a GetSimple core functionality to select and download languages from the admin settings:
  • new sidebar entry in Settings: Add language
  • which shows a list of languages from Extend, appropriate for the installed version of GetSimple
  • user can select one language and press a button Download
  • language ZIP is downloaded, unzipped and put into /admin/lang/ (overwriting older files)
  • based on the name of the file put into /admin/lang/ the language file of CKEditor - if it exists - is also downloaded and put into the appropriate directory.

This way it doesn't matter that much if only a view languages are distributed with GetSimple and the user can always easily get the newest language files.
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply


Messages In This Thread
Automatic download of language files - by mvlcek - 2011-03-17, 04:58:54
Automatic download of language files - by ccagle8 - 2011-03-17, 05:17:46
Automatic download of language files - by mvlcek - 2011-03-17, 05:40:16
Automatic download of language files - by ccagle8 - 2011-03-17, 05:44:30



Users browsing this thread: 1 Guest(s)