If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / two english languages, en for UK and us for USA

two english languages, en for UK and us for USA

Started by pizza392 on 27 Apr 2011, 11:00 AM · Views: 1,187

Results 1 to 11 of 11
27 Apr 2011, 11:00 AM
#1
pizza392 avatar

pizza392

New Zenner

Join Date:
Mar 2011
Posts:
76
Plugin Contributions:
0

two english languages, en for UK and us for USA

i need two languages for one store, both are english
english 1, code en, currency GBP, for united kindom
english 2, code us, currency USD, for united states
and i want the site switch the language by browser

what do i make it done? which files should i modify?

27 Apr 2011, 11:07 AM
#2
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: two english languages, en for UK and us for USA

Why do you need 2 languages when they're both the same? You do know...........you CAN enable ANY currency you want to, right?
Admin>Localization>Currencies
So, with the Language of English, you can still accept ANY and multiple currency(ies) you want to.

Teach them to shop and they will shop today;
Teach them to Zen and they will OWN a shop tomorrow!

27 Apr 2011, 11:13 AM
#3
pizza392 avatar

pizza392

New Zenner

Join Date:
Mar 2011
Posts:
76
Plugin Contributions:
0

Re: two english languages, en for UK and us for USA

besides the currency, i also have different information and different product descriptions for uk and usa, perhaps two languages would be better?

27 Apr 2011, 11:26 AM
#4
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: two english languages, en for UK and us for USA

Hmm......Okay. Not sure................but seems like a lot of hassle to have 2 English languages. But, if the information is that much different, then it may be worth a try. I've never heard of this being done before, but it may be possible. But, good luck with that. And be SURE to let us know when you get this worked out.

Maybe you might be better to have 2 sites? One with a ".com" and one with a ".co.uk", with each one of them having a very visual link to the other?

Teach them to shop and they will shop today;
Teach them to Zen and they will OWN a shop tomorrow!

27 Apr 2011, 11:27 AM
#5
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: two english languages, en for UK and us for USA

Get Em Fast:

Why do you need 2 languages when they're both the same?Because they're not. Our first step when setting up an online store (or what we call a shop) is to make a whole heap of changes to the terminology familiar to UK visitors. For example "carts" become "baskets" or "trolleys", "shipping" becomes "delivery" or "P&P", "lbs" become "kg" or "g", etc.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

27 Apr 2011, 12:41 PM
#6
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: two english languages, en for UK and us for USA

Well, yea..............now that you mention it, I guess we DO talk a little different, and have a little different terminology about some things, don't we?

Teach them to shop and they will shop today;
Teach them to Zen and they will OWN a shop tomorrow!

27 Apr 2011, 10:18 PM
#7
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,880
Plugin Contributions:
7

Re: two english languages, en for UK and us for USA

i need two languages for one store, both are english
No-one seems to have answered yet, so, correct me if I'm wrong but
you will need to duplicate all the english files and directories renaming them to something else ie english_uk. Mirror the file structure of the original fileset.
Then add it into the admin like any other new language.

Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

28 Apr 2011, 11:36 AM
#8
pizza392 avatar

pizza392

New Zenner

Join Date:
Mar 2011
Posts:
76
Plugin Contributions:
0

Re: two english languages, en for UK and us for USA

i think its easy to make another language pack like german pack or other language packs, i can call the new pack "mylanguage", just copy english files and folders (rename english.php to mylanguage.php, rename english folder to mylanguage folder) to admin language folder, to language folder, to templates button folder, i can add a new language from admin. but i'm not sure what else should i modify, such as the files in classe folder? in function folder? or others?

28 Apr 2011, 12:17 PM
#9
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: two english languages, en for UK and us for USA

Language packs are self-contained, there's no need to change other files.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

30 Apr 2011, 6:28 PM
#10
pizza392 avatar

pizza392

New Zenner

Join Date:
Mar 2011
Posts:
76
Plugin Contributions:
0

Re: two english languages, en for UK and us for USA

i made a new english language pack, now i have the language english and american, i set the option to switch language by browser. now the info in english and american file is
@setlocale(LC_TIME, 'en_US.ISO_8859-1');
define('HTML_PARAMS','dir="ltr" lang="en"');

i want en_GB, en_IE, de_DE and all other language browser go to "english store",
en_US, en_CA, en_AU go to "american store",
is it possible?

30 Apr 2011, 10:22 PM
#11
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: two english languages, en for UK and us for USA

You originally posted about having different versions of English for one store, but now you're posting about switching between stores. I'm confused.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)