id summary reporter owner description type status priority milestone component resolution keywords cc parents 562 Don't lower()/upper() locales all the time. spaetz spaetz "We will store available (=translated) locales in the form ""es_CR"". The function get_locale_from_request(request) in tools/translate.py will find the best_match() best on what the webbrowser wants and what we can offer. It will return one of the AVAILABLE_LOCALES items (which we know will be of the form ""lc_UP"", to there is no need to invoke ""locale_to_lower_upper"" on every return value. Only invoke that when we parse user input (through the GET/POST parameters to normalize their input). This is probably not costing too much, but it's one more function that is needlessly called for every request we make." enhancement closed minor 0.3.2 programming fixed