Post by Freakshow » Wed May 20, 2015 5:03 pm

Hei

Jeg får en lang linje ordredato på mail sendt til kunder (ordrebekreftelse m.m.).
Språk setting Local: no_nb.UTF-8
Capture.PNG

Capture.PNG (5.31 KiB) Viewed 1022 times

Norsk språkpakke og OC 2.0.2.0
Last edited by Freakshow on Mon Jun 01, 2015 12:24 am, edited 1 time in total.


User avatar
New member

Posts

Joined
Tue Dec 30, 2014 3:52 am
Location - Norway

Post by Freakshow » Wed May 20, 2015 6:23 pm

Omsider fant mr. google noe nyttig, lar posten bli med løsning tilfelle andre leter i dette norske forumet.

Now that OpenCart 2.0.2.0 doesn't use the

catalog/language/*/default.php
admin/language/*/default.php

files anymore, the following files need to be fixed:

catalog/model/checkout/order.php,
catalog/model/checkout/voucher.php,
catalog/model/openbay/ebay_order.php
admin/model/sale/voucher.php
system/library/openbay.php

They should use:

Code: Select all

$language->load($order_info['language_directory']);
instead of the old

Code: Select all

$language->load('default');
Having said that, it would have been better to continue using 'default.php' files in the main language folders rather than changing them to 'english.php' etc, then it wouldn't have broken above listed files, nor any of the 3rd party language packs or extensions!


User avatar
New member

Posts

Joined
Tue Dec 30, 2014 3:52 am
Location - Norway
Who is online

Users browsing this forum: No registered users and 4 guests