Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4

Thread: language codes

  1. #1
    Regular Coder
    Join Date
    May 2004
    Location
    Minneapolis, MN, USA
    Posts
    904
    Thanks
    0
    Thanked 0 Times in 0 Posts

    language codes

    I got in the habit of marking my pages as "en-us" after I saw that on the W3 web site, but I've never seen anybody else use that convention. Is that code considered valid and relevant, or is it just "en"?

    I can understand differentiating between the two, but then again, it kinda seems like a pointless detail.

  • #2
    Senior Coder
    Join Date
    Feb 2003
    Location
    Ontario, Canada
    Posts
    1,223
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I'd imagine the W3 folks wouldn't use it if it weren't valid and relevant. Using just plain "en" would likely suffice too, but being even more specific couldn't hurt, no?

  • #3
    Senior Coder
    Join Date
    Feb 2003
    Location
    Ontario, Canada
    Posts
    1,223
    Thanks
    0
    Thanked 0 Times in 0 Posts
    A quick google revealed this: http://www.w3.org/TR/REC-html40/struct/dirlang.html

    Haven't read it myself, but might interest you.

  • #4
    Senior Coder
    Join Date
    Oct 2003
    Location
    Australia
    Posts
    1,963
    Thanks
    0
    Thanked 0 Times in 0 Posts
    As a rule I use full language codes for my pages (en-au), but I wish search engines (read:google) actually counted these when deciding the country of origin It's not my fault my Australian pages are hosted in the US.. well, ok it is - but you get the picture.

    I take no responsibility for the above nonsense.


    Left Justified


  •  

    Posting Permissions

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