Dear Sir, I'm testing the new release (2.0.1.1) and I can't have spanish language working at its 100%. For example, the
button "Add To Cart" is not translated whenever I set my store to spanish. I checked the file located at:
/catalog/language/spanish/spanish.php and it seems everything O.K..
There is the right variable:
$_['button_cart'] = 'Comprar';
I realized that my store is only taking text from the default.php (english) language file, for certain variables.
Any tip will be so valuable for me.
Regards.
I'm going to reply myself, because it should help others.
I made a modification over the main index.php file.
I replaced this line:
by the following code:
After the modification, everything seems to work fine now.
I made a modification over the main index.php file.
I replaced this line:
Code: Select all
$language->load('default');
Code: Select all
if ($languages[$code]['code'] == 'en'){
$language->load('default');
}
else
{
$language->load($languages[$code]['directory']);
}
After the modification, everything seems to work fine now.
Who is online
Users browsing this forum: No registered users and 14 guests