[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #8828 [Flashproxy]: Recognize other subtags in language tags
#8828: Recognize other subtags in language tags
-------------------------+--------------------------------------------------
Reporter: dcf | Owner: dcf
Type: enhancement | Status: new
Priority: minor | Milestone:
Component: Flashproxy | Version:
Keywords: | Parent:
Points: | Actualpoints:
-------------------------+--------------------------------------------------
The badge's `lang` parameter currently understands exactly the codes `en`,
`de`, and `ru`. If you try `lang=en-US`, it won't work. We should try
looking up the whole string first, and if that fails, apply the regex
/^(\w+\)/ and look that up.
https://en.wikipedia.org/wiki/IETF_language_tag#Syntax_of_language_tags
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/8828>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs