Post by theme » Fri Apr 01, 2016 4:32 pm

I'm using OpenCart v2.2.0.0. I added new language Russian language pack for opencart v 2.2.0.0
When i select (Русский) language from drop down
1. price is displayed as $101decimal_point00
2. instead of "Add To Cart" text "button_cart" text is displayed on cart button.

Attachments

Mac.png

Mac.png (147.66 KiB) Viewed 1664 times


Newbie

Posts

Joined
Thu Mar 10, 2016 5:23 pm

Post by ocart777 » Fri Apr 01, 2016 7:24 pm

in your "catalog/language/language_name/language_name.php
make sure that you have below code. if not add them

Code: Select all

$_['decimal_point']         = '.';
and

Code: Select all

$_['button_cart']           = 'Add to Cart';

You can't control the weather, but you can change your mood.
You can't modify the visage, but you can show your smile.
You can't command someone else, but you can hold yourself.
You can't forecast tomorrow, but you can using today.
You can't obtain thanks, but you can exert yourself in everything.


OCEXTENSION.COM - YOUR PROFESSIONAL OPENCART EXTENSION STORE


User avatar
Active Member

Posts

Joined
Mon Jun 10, 2013 4:57 pm
Location - Malaysia

Post by theme » Fri Apr 01, 2016 8:12 pm

catalog/language/language_name/language_name.php file contains both decimal_point & button_cart code.
no data from language_name.php file is displayed.

Newbie

Posts

Joined
Thu Mar 10, 2016 5:23 pm

Post by bergeny » Fri May 06, 2016 7:25 pm


Newbie

Posts

Joined
Fri May 06, 2016 7:24 pm
Who is online

Users browsing this forum: No registered users and 16 guests