Reputation: 17
Is there an easy way to have this, so i don´t need to write all the time $lang in every variable ?
$lang = array();
$lang['PAGE_TITLE'] = 'My website page title';
$lang['HEADER_TITLE'] = 'My website header title';
$lang['SITE_NAME'] = 'My Website';
$lang['SLOGAN'] = 'my slogan">';
$lang['HEADING'] = 'Heading';
$lang['ABOUT'] = 'ABOUT english';
Thanks
Upvotes: 1
Views: 101
Reputation: 1499
$lang = array(
'PAGE_TITLE' => 'My website page title',
'HEADER_TITLE' => 'My ...',
// etc.
);
Upvotes: 10