Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Mar 2011
    Posts
    76
    Plugin Contributions
    0

    Default 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?

  2. #2
    Join Date
    Dec 2006
    Location
    Seligman, MO U.S.A.
    Posts
    2,101
    Plugin Contributions
    5

    Default 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!

  3. #3
    Join Date
    Mar 2011
    Posts
    76
    Plugin Contributions
    0

    Default 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?

  4. #4
    Join Date
    Dec 2006
    Location
    Seligman, MO U.S.A.
    Posts
    2,101
    Plugin Contributions
    5

    Default 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!

  5. #5
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

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

    Quote Originally Posted by Get Em Fast View Post
    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)

  6. #6
    Join Date
    Dec 2006
    Location
    Seligman, MO U.S.A.
    Posts
    2,101
    Plugin Contributions
    5

    Default 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!

  7. #7
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,826
    Plugin Contributions
    31

    Default 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.

  8. #8
    Join Date
    Mar 2011
    Posts
    76
    Plugin Contributions
    0

    Default 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?

  9. #9
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default 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)

  10. #10
    Join Date
    Mar 2011
    Posts
    76
    Plugin Contributions
    0

    Default 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?

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Two domains for two different languages
    By fosmaster in forum General Questions
    Replies: 2
    Last Post: 19 Oct 2010, 11:03 AM
  2. Change USA English to UK English
    By Hokey in forum General Questions
    Replies: 2
    Last Post: 15 Sep 2009, 04:34 PM
  3. Reviews for two languages
    By CaroleAs in forum Basic Configuration
    Replies: 4
    Last Post: 19 Aug 2009, 05:04 AM
  4. Shipping for USA (dollar) and International (weight)
    By Scarpine in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 28 Feb 2009, 10:06 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg