Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to Upgrade from 3.1.2 to 3.2.0
#29
I was thinking, those tags appear because the variable does not exist in the array of the corresponding language file.

It seems like a good idea to use en_US as a default language fall back. In other words, when selected nl_NL, that instead of the word '{i18N base/SAVE}' ('SAVE' => "Opslaan" does not exist in the array) the default word 'Save' (from US) is printed (see example below). Not only plugins, even admin.

Code:
nl_NL.php
<?php
$i18n = array(
    'CANCEL'    => "Annuleren",
    'DELETE'    => "Verwijderen"
); ?>

en_US.php
<?php
$i18n = array(
    'CANCEL'    => "Cancel",
    'DELETE'    => "Delete",
  'SAVE'    => "Save"  
); ?>
Reply


Messages In This Thread
How to Upgrade from 3.1.2 to 3.2.0 - by Timbow - 2013-02-14, 02:39:06
RE: How to Upgrade from 3.1.2 to 3.2.0 - by yojoe - 2013-02-15, 01:00:59
RE: How to Upgrade from 3.1.2 to 3.2.0 - by Rene - 2013-02-23, 00:25:15
RE: How to Upgrade from 3.1.2 to 3.2.0 - by Rene - 2013-02-26, 21:58:01
RE: How to Upgrade from 3.1.2 to 3.2.0 - by Rene - 2013-03-26, 02:13:47
RE: How to Upgrade from 3.1.2 to 3.2.0 - by Rene - 2013-02-26, 23:50:17
RE: How to Upgrade from 3.1.2 to 3.2.0 - by Rene - 2013-02-27, 01:23:18
RE: How to Upgrade from 3.1.2 to 3.2.0 - by Rene - 2013-03-01, 23:41:11
RE: How to Upgrade from 3.1.2 to 3.2.0 - by kelly - 2013-03-10, 21:23:54
RE: How to Upgrade from 3.1.2 to 3.2.0 - by kelly - 2013-03-12, 06:01:21
RE: How to Upgrade from 3.1.2 to 3.2.0 - by Rene - 2013-03-26, 06:58:24
RE: How to Upgrade from 3.1.2 to 3.2.0 - by Rene - 2013-03-27, 19:36:50



Users browsing this thread: 4 Guest(s)