2014-01-26, 23:44:07
(2014-01-26, 08:17:29)Carlos Wrote: Same but shorter:
Code:# NM Translations
if (isset($_GET['lang'])) {
if ($_GET['lang'] == 'en') {
$nm_i18n['READ_MORE'] = 'Read more';
$nm_i18n['PUBLISHED'] = 'Published on';
$nm_i18n['GO_BACK'] = '<< Back to the previous page';
} else {
$nm_i18n['READ_MORE'] = 'Číst dál';
$nm_i18n['PUBLISHED'] = 'Publikováno';
$nm_i18n['GO_BACK'] = '<< Zpět na výpis článků';
}
}
Definitely, could have come into my mind this is much more effective, thanks for the tip.
Tomáš Janeček - Multilingual personal website powered by GetSimple
» The little I did for GetSimple
» The little I did for GetSimple