def locale_title(locale_name):
    """
    Giving a locale name return its title, taken from the settings.EXTRA_COUNTRY_LOCALES
    
    If the locale is not in the settings.EXTRA_COUNTRY_LOCALES, return it unchanged
    """
    l = dict(settings.EXTRA_COUNTRY_LOCALES)
    if locale_name not in l:
        return locale_name
    return l.get(locale_name)