Changeset 1679


Ignore:
Timestamp:
Dec 25, 2006, 8:17:29 AM (17 years ago)
Author:
vdigital
Message:

Feature Issue ID 0000527: Language localization - local.lang.php can be added to each language directory. Authorize your own translation to be keep over migrations.

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/include/functions_notification_by_mail.inc.php

    r1676 r1679  
    255255    // language files
    256256    include(get_language_filepath('common.lang.php'));
     257    @include(get_language_filepath('local.lang.php'));
    257258    // No test admin because script is checked admin (user selected no)
    258259    // Translations are in admin file too
  • trunk/include/common.inc.php

    r1677 r1679  
    150150  include_once(get_language_filepath('admin.lang.php'));
    151151}
     152@include_once(get_language_filepath('local.lang.php'));
    152153
    153154// only now we can set the localized username of the guest user (and not in
  • trunk/include/functions.inc.php

    r1670 r1679  
    641641    $user = build_user( $conf['guest_id'], true);
    642642    include_once(get_language_filepath('common.lang.php'));
     643    @include_once(get_language_filepath('local.lang.php'));
    643644    list($tmpl, $thm) = explode('/', $conf['default_template']);
    644645    $template = new Template(PHPWG_ROOT_PATH.'template/'.$tmpl, $thm);
  • trunk/install.php

    r1284 r1679  
    185185
    186186include( './language/'.$language.'/common.lang.php' );
     187// Never: @include( './language/'.$language.'/local.lang.php' );
    187188include( './language/'.$language.'/admin.lang.php' );
    188189include( './language/'.$language.'/install.lang.php' );
Note: See TracChangeset for help on using the changeset viewer.