[tor-bugs] #8828 [Flashproxy]: Recognize other subtags in language tags
Tor Bug Tracker & Wiki
blackhole at torproject.org
Sat May 4 20:16:14 UTC 2013
#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
More information about the tor-bugs
mailing list