Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Define Language


1800contacts

Recommended Posts

Posted

When I went into admin/localization/languages, then picked one of my language, japanese. I clicked on 'define;, and then cliked on one of the file, default.php. I tried to edit some the langiuage here but i couldn't. I saw the following message at the top:

 

Error: I can not write to this file. Please set the right user permissions on: /hsphere/local/home/neteyem/1800contacts.ca//catalog/includes/languages/japanese/default.php

 

The following is default.php in japanese folder:

define('TEXT_MAIN', '1800contacts.ca wants to be your source for low price contact lenses & replacement contact lenses online.<br><br>Please go ahead and create your own Contact Lenses account . <br><br>You can easily find contact lenses products by selecting the category you would like to browse from the menu on the left for our widest selection of low price lenses.');

define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');

define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');

define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');



if ( ($category_depth == 'products') || ($HTTP_GET_VARS['manufacturers_id']) ) {

 define('HEADING_TITLE', 'Search Result...');

 define('TABLE_HEADING_IMAGE', '');

 define('TABLE_HEADING_MODEL', 'Model');

 define('TABLE_HEADING_PRODUCTS', 'Product Name');

 define('TABLE_HEADING_MANUFACTURER', 'Manufacturer');

 define('TABLE_HEADING_QUANTITY', 'Quantity per box/vial');

 define('TABLE_HEADING_PRICE', 'Price');

 define('TABLE_HEADING_WEIGHT', 'Weight');

 define('TABLE_HEADING_BUY_NOW', 'Buy Now');

 define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.');

 define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.');

 define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: ');

 define('TEXT_SHOW', '<b>Show:</b>');

 define('TEXT_BUY', 'Buy 1 '');

 define('TEXT_NOW', '' now');

 define('TEXT_ALL', 'All');

} elseif ($category_depth == 'top') {

 define('HEADING_TITLE', 'Welcome to 1800contacts.ca');

} elseif ($category_depth == 'nested') {

 define('HEADING_TITLE', 'Categories');

}

 

Can anyone please tell me what should I change in that file in order to make changes? Thanks.

Richard da bomb

Posted

you need to CHMOD 777 your files in your language folder that you want to change.

 

When you are finished editing DO NOT FORGET

Robert

 

We all need to learn it once, how hard it may seem when you look at it, also you will master it someday ;)

Archived

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

×
×
  • Create New...