Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problem in activating language


pedro g

Recommended Posts

Posted

Hello,

 

In the admin area I've choosen the portuguese language as the default language. But what happens is that when I enter the shop, it will work ok with Safari (in Mac), but using Internet Exporer or Netscape they ignore the PT language pack, and automatically jumps to the english language.

 

Here is it if anybody wants to see it:

http://www.arquimedeslivros.com/loja/

 

Anybody know what's wrong?

Thanks.

Posted

Hi Pedro,

I browse your site (XP, Firefox) and I could't see the language box and saw your website in english.

So I presume that you put english as default on your site, and that the browsers (IE & NN) have english as default languages set up.

 

Check in IE under EXTRA->Internet options->Languages to see there if you got Portuguese as language and on wich position it is.

 

If nothing there, add Portuguese and move it to the top.

 

Recheck your website and everything should be ok.

Ciao.

Posted

Thanks Jazz Man, that one worked. :thumbsup:

 

But in fact, if we enter the shop with this URL:

http://www.arquimedeslivros.com/loja/index.php?language=PT

we will see it ok in all browsers and in portuguese language. But nobody (potential clients) will put the index.php?language=PT after the URL, so probably they will see the page in english, which is strange, as the portuguese language is the one which is choosen in the administration area of the shop. There is portuguese as default and english as the second one.

 

Do you think if I remove the english language from the server, everything will work correctly?

 

Thanks a lot!

Posted
Thanks Jazz Man, that one worked. :thumbsup:

 

But in fact, if we enter the shop with this URL:

http://www.arquimedeslivros.com/loja/index.php?language=PT

we will see it ok in all browsers and in portuguese language. But nobody (potential clients) will put the index.php?language=PT after the URL, so probably they will see the page in english, which is strange, as the portuguese language is the one which is choosen in the administration area of the shop. There is portuguese as default and english as the second one.

 

Do you think if I remove the english language from the server, everything will work correctly?

 

Thanks a lot!

If you remove the english language you will not have a multi-language shop anymore and the portugese language will always be shown. If you do not sell to non-portugese customers I suppose that is a sane thing to do. It might seem annoying that your shop will open in English instead of Portugese depending on a customers browsers settings but if your fellow countrymen have the right browser settings they won't be affected anyway and for non-portugese people like me it would be much better to find the english language site part first.

Posted

Wohh .. think i just solved this problem .. really hopes this works with everything else in the script:

 

edit file "application_top.php"

 

go to "// set the language"

 

and a few rows down you will see:

 

} else {

$lng->get_browser_language();

 

 

Coment this out works like a charm for me ( at the moment it does anyway :-" )

It will look like this:

 

# } else {

# $lng->get_browser_language();

Posted

EDIT!!

 

Think i have to take it all back .. it changes back to swedish now instead when i choose a category.

Cant anyone plz take a serious look at this problem .. i really want a dual language shop.

 

>_<

Archived

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

×
×
  • Create New...