OSCOMMERCE SUPPORT CALL 702-453-3332

 

Help - Search - Members - Calendar
Full Version: Japanese Language Help needed
osCommerce Community Support Forums > osCommerce Online Merchant v2.x > Contributions / Add-Ons > Languages and Zones
smartcard
I have installed OSC 2.2 MS2, and I copied the Japanese Lauguage Pack MS1 from http://www.oscommerce.com/community/contributions,1636/

After adding the jp language at Admin -> Localization -> Languages I can see that that the Japanese language icon is available in the index page. But when I click and switched to the JP language I am getting the following error:

CODE
Warning: main(includes/languages/japanese/index.php) [function.main]: failed to open stream: No such file or directory in /home/zms/public_html/buyhal/index.php on line 33

Fatal error: main() [function.require]: Failed opening required 'includes/languages/japanese/index.php' (include_path='.:/usr/lib/php') in /home/zms/public_html/buyhal/index.php on line 33


Please tell me if there is any other language pack that works? or how can I fix this problem?
web-project
QUOTE
Please tell me if there is any other language pack that works? or how can I fix this problem?

by installing properly languages into oscommerce

As you can see from errors: No such file or directory
smartcard
QUOTE (web-project @ Nov 26 2007, 06:16 PM) *
by installing properly languages into oscommerce

As you can see from errors: No such file or directory


I can't find the index.php file with the package.
sukarya
QUOTE (smartcard @ Nov 26 2007, 07:40 PM) *
I can't find the index.php file with the package.



I didn't check to see if index.php file exists or not in your language package, but you are missing a language file from a package, you can copy the content of this exact same file from other language pack and change the the english text to the right language you are interested in.

i.e:
1. copy catalog\includes\languages\english\index.php (or any other file) and paste it into the JPN language dir.
2. edit the file you copied to match the text and language you are interested in:

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

to

define('TABLE_HEADING_PRODUCTS', 'WHAT EVER YOU WANT TO WRITE AND IN THE LANGUAGE YOU CHOOSE');

hope that helped.
nmic
QUOTE (sukarya @ Dec 11 2007, 08:48 PM) *
I didn't check to see if index.php file exists or not in your language package, but you are missing a language file from a package, you can copy the content of this exact same file from other language pack and change the the english text to the right language you are interested in.

i.e:
1. copy catalog\includes\languages\english\index.php (or any other file) and paste it into the JPN language dir.
2. edit the file you copied to match the text and language you are interested in:

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

to

define('TABLE_HEADING_PRODUCTS', 'WHAT EVER YOU WANT TO WRITE AND IN THE LANGUAGE YOU CHOOSE');

hope that helped.


thanks sukarya, this was exactly my problem too. running a brand new installation of osc and the first thing i needed to do was install japanese language support. copying the index.php file from the english diry which i can now modify has resolved the problem.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.