Ignore:
Timestamp:
Nov 26, 2013, 12:22:41 AM (11 years ago)
Author:
chronos
Message:
  • Added: Class Locale for handling interface translation. Texts are translated using global function T($Text). New config item Web-Locale added.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/global.php

    r596 r603  
    1010include_once(dirname(__FILE__).'/Version.php');
    1111include_once(dirname(__FILE__).'/AppModule.php');
     12include_once(dirname(__FILE__).'/Locale.php');
     13$Locale = new Locale();
     14$Locale->Dir = dirname(__FILE__).'/../locale';
     15$Locale->Load($Config['Web']['Locale']);
    1216
    1317// Include application modules
Note: See TracChangeset for help on using the changeset viewer.