{"issue":{"state":"open","created_at":"2011-12-03T00:23:35Z","updated_at":"2011-12-03T08:27:19Z","comments":1,"user":{"gravatar_id":"3a15dc114b2ee32d154d30ca84222c5e","id":83265,"url":"https://api.github.com/users/ikresoft","login":"ikresoft","avatar_url":"https://secure.gravatar.com/avatar/3a15dc114b2ee32d154d30ca84222c5e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"There is no way I can see translation for this language code sr-Latn or sr-latn. Probably django is expecting folder name sr_Latn to look for translation files. ","assignee":null,"id":2434750,"labels":[],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":12,"title":"Problem with language code sr-Latn.","html_url":"https://github.com/mbi/django-rosetta/issues/12","closed_at":null,"url":"https://api.github.com/repos/mbi/django-rosetta/issues/12","milestone":null},"action":"created","comment":{"created_at":"2011-12-03T08:27:19Z","updated_at":"2011-12-03T08:27:19Z","user":{"gravatar_id":"3a15dc114b2ee32d154d30ca84222c5e","id":83265,"url":"https://api.github.com/users/ikresoft","login":"ikresoft","avatar_url":"https://secure.gravatar.com/avatar/3a15dc114b2ee32d154d30ca84222c5e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"I change this line of code in poutil.py:\r\n    if u'-' in lang:\r\n        _l,_c =  map(lambda x:x.lower(),lang.split(u'-'))\r\n       #add capitalize()\r\n        langs += (u'%s_%s' %(_l, _c), u'%s_%s' %(_l, _c.upper()), u'%s_%s' %(_l, _c.capitalize()), )\r\n\r\nafter this sr-Latin is working.","id":2999640,"url":"https://api.github.com/repos/mbi/django-rosetta/issues/comments/2999640"}}