Don't replace - with _ in the normalized language-variable because
the HTTP_ACCEPT_LANGUAGE-languages use - and the variable is
splitted anyway. Also, the array TO_FULL_INVERTED uses - in the
keys, so the special cases are now used.
Tested locally with pt-BR (Portuguese/Brazil in Firefox), fixes #60
Don't replace
-
with_
in the normalized language-variable because theHTTP_ACCEPT_LANGUAGE
-languages use-
and the variable is splitted anyway. Also, the arrayTO_FULL_INVERTED
uses-
in the keys, so the special cases are now used.Tested locally with pt-BR (Portuguese/Brazil in Firefox), fixes #60