osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

new language

This is a discussion on new language within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; My problem is that I am getting error messages since I installed a new language. I know you have seen ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Installation Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 10-07-2004, 09:39 AM
New Member
 
Join Date: Oct 2004
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
anthon
Default new language

My problem is that I am getting error messages since I installed a new language.
I know you have seen this problem before. I have done a search and saw you had a few with the same question. But what was suggested hasn't help me since I did install it in both shop/admin/includes/languages and in shop/includes/languages. And on the admin. Site I added the language and hit the insert button.
Here are the errors and the line of code.

[i] Warning: main(includes/languages/dutch/index.php): failed to open stream: No such file or directory inerror: main(): Failed opening required 'includes/languages/dutch/index.php'

Line 33 : require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_DEFAULT);


thanks
anthon
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 10-07-2004, 09:53 AM
Active Member
 
Join Date: Jun 2004
Location: Glued to Computer Chair
Posts: 108
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
makemethis
Default

did you create the files needed in catalog/includes/language/...?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 10-07-2004, 10:23 AM
New Member
 
Join Date: Oct 2004
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
anthon
Default

I uploaded all the files to the correct directory. But what do you mean by create? Are there files that need to be changed? thanks
anthon
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 10-07-2004, 10:37 AM
Active Member
 
Join Date: Jun 2004
Location: Glued to Computer Chair
Posts: 108
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
makemethis
Default

two areas files are needed:

catalog/admin/includes/languages
catalog/includes/languages

in these areas, you will see files for english, spanish, french, and german...
take one set (example english) from both areas and copy then rename to dutch...
upload the dutch files...
take a few minutes to look at the file structure under each language area and i think you will see if you have what you need...

good luck!
__________________
True Meaning of Lost: Building a web site without knowledge or skill

True Meaning of Crazy: Building a web site anyhow

The Net Results: Never needing a comb again

www.MakeMeThis.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 10-07-2004, 11:07 AM
New Member
 
Join Date: Oct 2004
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
anthon
Default

Thanks, I though I had the solution.
I did already have the area files installed, the dutch one as well. Well then I checked english againt the dutch and I did see a major difference at the very top
<?php,
/*
$Id: english.php

On the dutch file there was no $Id

I added $Id:dutch.php to both files.
Now I hoped they would work , but I get the same error signs.

The area files you mentioned , they are the separent files outside the folder in each language aren't they? The dutch file was fully translated. I just hope now you mean some other file, because I am lost here now.
anthon
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 10-07-2004, 11:36 AM
Active Member
 
Join Date: Jun 2004
Location: Glued to Computer Chair
Posts: 108
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
makemethis
Default

did you sign into admin and add the language under
Localization - Language
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 10-07-2004, 12:20 PM
New Member
 
Join Date: Oct 2004
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
anthon
Default

did that as well.
anthon
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #8  
Old 10-07-2004, 12:27 PM
Active Member
 
Join Date: Jun 2004
Location: Glued to Computer Chair
Posts: 108
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
makemethis
Default

i remember that when i put in my second language...i did the admin thing first and then loaded the files...it didn't work...i went back...took the language out of admin...and then put it back in and it worked...worth a quick try
__________________
True Meaning of Lost: Building a web site without knowledge or skill

True Meaning of Crazy: Building a web site anyhow

The Net Results: Never needing a comb again

www.MakeMeThis.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #9  
Old 10-07-2004, 12:46 PM
New Member
 
Join Date: Oct 2004
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
anthon
Default

Just tried that too. Didn't work. Still same messages. And I did refresh my screen.
I don't know what else to do.
anthon
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #10  
Old 10-07-2004, 11:41 PM
New Member
 
Join Date: Oct 2004
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
anthon
Default

I have been changing all kind of codes, comparing the different languages and now at least I don't get the same errors any more!
BUT there is now one new one and I still can't open my index . Can someone please help out here?

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/joostsho/public_html/shop/index.php on line 40

here are the lines around line 40


<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">
<title><?php echo joostshop; ?></title>
<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">
<link rel="stylesheet" type="text/css" href="stylesheet.css">
</head>

I can't see what is not closed or open or wronge. That is what the message means doesn't it?


Thanks for being so helpful and patient. One way or the other I am going to get this to work!
anthon
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Only one Language? donm1021 osCMax v1.7 Discussion 5 05-20-2007 11:19 AM
new language eyalkeren osCommerce 2.2 Modification Help 0 05-10-2006 11:58 AM
french language anthon osCommerce 2.2 Modification Help 0 10-19-2004 09:15 AM
Second Language Not Updating makemethis osCMax v1.7 Discussion 0 07-08-2004 11:40 AM
language americamba osCommerce 2.2 Modification Help 0 12-21-2003 05:00 PM


All times are GMT -8. The time now is 12:38 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax