Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

How to install new language files???


Recommended Posts


i have downloaded the norwegian languages files but not sure where to put them, is there a link or something that explains how to do it??



Link to comment
Share on other sites

you have to put the files into catalog/includes/languages/norwegian.


extract your stuff


So you have to create a folder. Beneath this folder put the norwegian.php. Then put the other php-files into the folder. There you need two folders: images and modules...and so on.


You have to copare the structure with the other languages!


Then go to your admin-section, languages and currencies, Choose languages, Press "new Language"-Button and define it!


must work

just create...and sell..sell...sell.....

Link to comment
Share on other sites

  • 3 weeks later...

yes it worked, but i get an error with this line: setlocale('LC_TIME', 'no_NO')


error is:


Warning: setlocale(): Passing locale category name as string is deprecated. Use the LC_* -constants instead. in /home/petronas/www/crystalnet/webshop/catalog/includes/languages/norwegian.php on line 13



when i disable it i don't get that error, but some boxes don't work you can see this at this url: http://www.crystalnet.org/webshop/catalog/

Link to comment
Share on other sites

There are some definitons missing in your (catalog/includes/laguages/norwegian.php::


Insert and translate the english-text: 'translate thispart'


// information box text in includes/boxes/information.php

define('BOX_HEADING_INFORMATION', 'Information');

define('BOX_INFORMATION_PRIVACY', 'Privacy Notice');

define('BOX_INFORMATION_CONDITIONS', 'Conditions of Use');

define('BOX_INFORMATION_SHIPPING', 'Shipping & Returns');

define('BOX_INFORMATION_CONTACT', 'Contact Us');


// reviews box text in includes/boxes/reviews.php

define('BOX_HEADING_REVIEWS', 'Reviews');

define('BOX_REVIEWS_WRITE_REVIEW', 'Write a review on this product!');

define('BOX_REVIEWS_NO_REVIEWS', 'There are currently no product reviews');

define('BOX_REVIEWS_TEXT_OF_5_STARS', '%s of 5 Stars!');




and at line 323 or so:


define('FOOTER_TEXT_BODY', 'Copyright © 2003 <a href="http://www.oscommerce.com" target="_blank">osCommerce</a><br>Powered by <a href="http://www.oscommerce.com" target="_blank">osCommerce</a>');


>>this part you have to leave how it is..if you don't change the shop!!!


Warning: At the end of the file MUST be this: ?>

because you have to close the file!!!!

just create...and sell..sell...sell.....

Link to comment
Share on other sites

thanks looking better allready:)


now i need to get the admin/ part to work, only gets the first page but none of the configuration pages will show up, only a blank page.. could there be missing anything in the admin/includes/language/norwegian.php file as well???

Link to comment
Share on other sites



you have to take a look at the catalog/admin/includes/languages/english.php....and compare it with your norwegian-version.


would be nice if you upload your corrected files to the contributions.


>>I can get it...your admin...so just update the language-files....

just create...and sell..sell...sell.....

Link to comment
Share on other sites

have soon a new norwegian version ready, but i was woundering if there has been made a norwegian icon i can use with it, now i only have the engelish one? if so where can i download it

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...