Open digitalrinaldo opened 12 years ago
+1. I'd actually love any insight/clarity into when to choose -
vs. _
.
The -
format used in HTTP is defined in RFC 2616 Section 3.10 and the _
format is used on Posix (linux, unix, OSX) though I'm currently unable to find the spec that defines it.
Locale objects currently have fields:
code
: as-is string of the locale, as receivednormalized
: language lower case, underscore, country upper case, es: en_US
wouldn't it be enough to add a browserized
param with language lower case, dash, country lower case? (es. en-us
)
I was just wondering is there is an option for mapping enUS to en-US the browsers ask for locales using a "-" instead of an "" and thanks for the useful library.