Skip Menu |

This queue is for tickets about the I18N-LangTags CPAN distribution.

Report information
The Basics
Id: 100880
Status: new
Priority: 0/
Queue: I18N-LangTags

People
Owner: Nobody in particular
Requestors: EDOARDO [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.35
Fixed in: (no value)



Subject: http_accept_langs does not recognize es-419
I found a situation where in some browsers (specifically Opera 26) when setting the preferred language to "Spanish (Latin America)" the language code passed in the Accept-Language header is "es-419", but the corresponding existing lexicon is not used. Digging in the code I found that the reason is that language codes that contain digits are not recognized, causing I18N::LangTags::Detect::http_accept_langs to return an empty list.