Page 1 of 1

[SOLVED] Kryptisk lang "Ordredato"

Posted: Wed May 20, 2015 5:03 pm
by Freakshow
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 1914 times

Norsk språkpakke og OC 2.0.2.0

Re: Kryptisk lang "Ordredato"

Posted: Wed May 20, 2015 6:23 pm
by Freakshow
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!