Post by slycrespo » Tue Aug 29, 2017 4:08 am

Hello!
I have a store in four languages (slovenian, croatian, english and german). I have a problem with showing number of items in cart, but only in croatian language. In other languages the counter for items in cart shows normal.. But in croatian language it shows: text_items2
Image

What could be wrong? I am using Opencart version 1.5.6. Thanks1

New member

Posts

Joined
Tue Aug 28, 2012 7:41 am

Post by yodapt » Tue Aug 29, 2017 4:25 am

Likely that translation item doesn't exist in that language.

Opencart Developer - My Extension Showcase
Contact me at aeon.yoda@gmail.com


User avatar
Active Member

Posts

Joined
Fri Jun 17, 2011 6:39 pm


Post by slycrespo » Tue Aug 29, 2017 4:44 am

So what should I do ?

New member

Posts

Joined
Tue Aug 28, 2012 7:41 am

Post by slycrespo » Tue Aug 29, 2017 4:00 pm

Please help somebody....

New member

Posts

Joined
Tue Aug 28, 2012 7:41 am

Post by yodapt » Tue Aug 29, 2017 7:07 pm

Lookup the language file, which should be something like catalog/language/croatian/checkout/cart.php and add that key :

Code: Select all

$_['text_items2']             = '%s item(s) - %s';
I suggest you search for the same file in another language, copy-paste the key you want and change the language, as I dont know what it's supposed to be showing.

Opencart Developer - My Extension Showcase
Contact me at aeon.yoda@gmail.com


User avatar
Active Member

Posts

Joined
Fri Jun 17, 2011 6:39 pm

Who is online

Users browsing this forum: Bing [Bot] and 41 guests