Line 453daroPL wrote:Looks good. Can you show me where you put the code in en/common.php?
Code: Select all
'STATUS'=> 'Status',
Code: Select all
'STATUS' => 'Status',
Code: Select all
'STATUS' => 'Status',
Code: Select all
{L_STATUS}
Code: Select all
{ STATUS }
In your lang_english/lang_main.php:
Code: ‹ Select ›
$lang['books'] = 'Books';
$lang['otherlangvar'] = 'otherword';
In your php file where the menu is at:
Code: ‹ Select › ‹ Expand ›
$template->assign_vars(array(
'L_BOOKS' => $lang['books'],
'L_OTHERLANGVAR' => $lang['otherlangvar']
));
'L_OTHERLANGVAR' => $lang['otherlangvar'] i put in there to show you you can add more vars there.
In your tpl file where the menu is in at the place you want the word Books or Libros to apear:
Code: ‹ Select ›
{L_BOOKS}