Fixed #19811 - Added language code fallback in get_language_info

Track ticket: https://code.djangoproject.com/ticket/19811