Jump to content

IETF language tag


Recommended Posts

Hi, cart links this to Wiki and there is NO help there @ all

 

can someone please give me the IETF language tag for:

 

Spanish

German

French

 

Thanks in advance to anyone who can help.

 

Also, where are the properly sized flag files found? Should they not be included with the cart?

 

Where can I find them online?

Link to comment
Share on other sites

here is an 'improvement' of the native PS browser language detect. 

http://forge.prestashop.com/browse/PSCFV-10876

 

I tested this (remarked on the forge report).  It did however fix for problem where 'en' was being used and not en-GB | en-US.  I could set browser lang to en-GB and the shop would detect it as well as en-US.  cool

 

-note: it does not appear to sort/look by priority the browser language settings and that it only looks at the first language passed in  HTTP_ACCEPT_LANGUAGE

 

http://forge.prestashop.com/browse/PSCFV-10876

 

happy localizing

Link to comment
Share on other sites

  • 9 months later...

hey for all you localization freaks,

 

I finally wrote advanced ietf language detect.

 

this extends ps basic (i.e.  only checks for 1st browser lanague and if not defined in your shop then sets default language)  The module will look at all (sorted by order of visitor preference) other languages.

 

so now supports scenario (I prefer Danish but would also accept English), can match same language different country codeexample:  en-us en-uk as well.

 

Geo Localization - Advanced Visitor Language Detect

Link to comment
Share on other sites

  • 1 year later...

hey for all you localization freaks,

 

I finally wrote advanced ietf language detect.

 

this extends ps basic (i.e.  only checks for 1st browser lanague and if not defined in your shop then sets default language)  The module will look at all (sorted by order of visitor preference) other languages.

 

so now supports scenario (I prefer Danish but would also accept English), can match same language different country codeexample:  en-us en-uk as well.

 

Geo Localization - Advanced Visitor Language Detect

 

continued work in this area produced this wonderful module:  which includes my advanced language detect module logic, creating perfect storm.

 

 

Module] International Language Detect & SEO Friendly URL

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...