Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Language Problem


Recommended Posts

i made a chinese language pack for oscommerce,but i found one word in the top page can not be translated.i have translated all the words in the files of /include/language directory,it works.but only one word in the first page seems not translated as i hope--the word above the drop down select menu in the left column: "Manufacturers"!


i am sure i have translated all the the words in cn.php;include


define('BOX_HEADING_MANUFACTURERS', 'my words');


but it is strange that when i first visit the page,the title of the box heading is translated as i hoped,but when i refresh the page,it changed back to the original word "Manufacturers",how does it do this?

Link to comment
Share on other sites


I don't know much about language packs, but I _think_ if your default language is chinese this file:




should be called




also the /inludes/languages sub path should be named 'chinese'




sorry, i mean my default language is chinese,but in the php code it's "cn",so the file name is cn.php

Link to comment
Share on other sites



Have you read these in the knowledge base ?






Do you have the switch to default langaue set in admin ?


Switch to Default Language Currency -> If there are several currencies being used this setting will automatically switch currencies when the language is changed.


Have you updated the array in these files





to add the entry:


'cn' => 'cn|chinese',


Your database should have an entry:


name - 'Chinese'

code - 'cn'

image - 'icon.gif'

directory - 'cn'



Link to comment
Share on other sites


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

  • Create New...