Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Can't change language


Guest

Recommended Posts

Posted

When I choose danish i get this:

 

Warning: main(includes/languages/.php): failed to open stream: No such file or directory in W:\www\jalo-shop\includes\application_top.php on line 285

Fatal error: main(): Failed opening required 'includes/languages/.php' (include_path='.;/usr/local/PHP/includes;/usr/local/PHP/pear') in W:\www\jalo-shop\includes\application_top.php on line 285

 

What is wrong? Heeelp

Posted

Can't anyone help me???

 

My english isn't so good, but i will try to explain what I've done.

 

The one of the danish.php and danish/ is uploaded to /includes/languages and the other danish.php and danish/ is uploaded to /admin/includes/languages.

 

When I get in to the shop I can, in the right side, choose language, but instead of the danish flag there is a red cross an when I click at it I get this messages:

 

Warning: main(includes/languages/.php): failed to open stream: No such file or directory in W:\www\jalo-shop\includes\application_top.php on line 285

Fatal error: main(): Failed opening required 'includes/languages/.php' (include_path='.;/usr/local/PHP/includes;/usr/local/PHP/pear') in W:\www\jalo-shop\includes\application_top.php on line 285

 

Please help me :(

Posted

I'm not certain of this, but don't you have to add a danish sql file into the database as well?

 

Vger

Posted

I don't think so.

 

There is no sql-file in the language pack :(

 

Any other suggestions?

 

Please help

 

Mia_J Denmark

Posted
I don't think so.

 

There is no sql-file in the language pack :(

 

Any other suggestions?

 

Please help

 

Mia_J Denmark

 

language files go into your includes/languages directory.

In admin (localizations) you enable the language and define the category where the system needs to find it.

 

so if you have languages files in danish:

 

copy them to : includes/languages/danish/

 

and tell OSC in admin that the directory is incudes/languages/danish/

Treasurer MFC

  • 2 weeks later...
Posted

I had the same problem...

 

The index.php file inside the danish language folder is missing...

 

I'd just copied the one from the english folder...

 

------------------------------------------------------------------------------

 

Jeg har haft det samme problem...

 

Index.php filen i den danske mappe mangler...

 

Jeg har kopieret index.php fra engelsk til dansk...

 

Pr?v det...

Posted

Sorry.... Wrong info...

 

Just change the default.php in the folder to index.php...

 

-----------------------------------------------------------------------------

 

Undskyld... Har givet forkert info...

 

Omd?b default.php til index.php...

  • 9 months later...
Posted

Does anyone knows where i can find the danish language file ?

 

 

Nogen der ved hvor jeg kan finde den danske sprogfil?

 

 

Best regards

Brian

Best regards

Brian

Posted

All the root level files are the same - whatever language you use, so that's not a problem.

 

In the includes/languages/ folder there should be a file called danish.php and there should be a folder called danish

 

There should be a similar file and folder in admin/includes/languages/ but obviously they are different ones - giving the 'admin' settings for Danish.

 

Vger

Posted

HI Vger

 

In my osCommerce 2.2-MS2. isnt there any danish file.

 

I have spanish, german, and english.php and the same as folder.

 

Thanks for your help

 

 

 

Best regards

Brian

Best regards

Brian

Posted

Look in Contributions (link under Community at the top of this page) for a Danish language pack.

 

Vger

Archived

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

×
×
  • Create New...