Ticket #2408: trans_null.diff
File trans_null.diff, 360 bytes (added by , 18 years ago) |
---|
-
trans_null.py
25 25 return language[:p].lower()+'_'+language[p+1:].upper() 26 26 else: 27 27 return language.lower() 28 29 def get_language_from_request(request): 30 return settings.LANGUAGE_CODE