Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Set Language as default?


straller

Recommended Posts

I'm testing OSC on my localhost and use English & my country's language (Vietnamese)in my website. My problem is, I can't set Vietnamese as default language :(

In "Admin" page/Localization/Language , when editting "Vietnamese" language, I ticked in "Set as default" and in "Sort Order" I set it the value "0" (ofcourse, English = 1). But when I run "localhost/..../catalog/index.php", the language in homepage is English :'(

I'm very new, please help me :) Thank much!

 

Le Hung!

Link to comment
Share on other sites

I'm testing OSC on my localhost and use English & my country's language (Vietnamese)in my website. My problem is, I can't set Vietnamese as default language :(

In "Admin" page/Localization/Language , when editting "Vietnamese" language, I ticked in "Set as default" and in "Sort Order" I set it the value "0" (ofcourse, English = 1). But when I run "localhost/..../catalog/index.php", the language in homepage is English :'(

I'm very new, please help me :) Thank much!

 

Le Hung!

 

 

Did you see the link, between your shop and the main page if you has a host?

 

 

Nelson

Link to comment
Share on other sites

Did you see the link, between your shop and the main page if you has a host?

Nelson

:( SOrry, I don't understand your question. I'm only testing my shop in localhost. My problem's, I can't set my language as default. The default language of my shop is still English :( Plzzzz....help me!

Link to comment
Share on other sites

This is what you do:

 

1. Go to catalog/includes/application_top.php

 

2. Replace this line:

 

$lng->get_browser_language();

 

With

 

//$lng->get_browser_language();

 

3. Save and upload.

 

4.Your done.

Samuel Mateo, Jr.

osC 2.2 MS2

Installed Mods:

WYSIWYG HTMLArea 1.7 | Basic Template System 1.0 | osC-Affiliate | OSC-SupportTicket

Featured Products 1.3 | LoginBox 5.2 | LatestNews 1.1.3 | Extras for IE

Link to comment
Share on other sites

This is what you do:

 

1. Go to catalog/includes/application_top.php

 

2. Replace this line:

 

$lng->get_browser_language();

 

With

 

//$lng->get_browser_language();

 

3. Save and upload.

 

4.Your done.

 

Hey

I've solved my problem by downloading the Bug Fixed in Default Language Function

http://www.oscommerce.com/community/contributions,3960/page,8

This's only for my country language, Vietnamese, but I think, we can set anylanguage as default basing this Bug fixed.

 

@PropioWeb : I 'll try your guide to find out another way. Thank for you help :)

Link to comment
Share on other sites

  • 2 months later...
  • 2 years later...
  • 5 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...