def _babel_locale(locale):
    # Babel uses underscore as separator.
    return locale.replace('-', '_')
Return the Babel locale code, given a normal one.
dataset/ETHPy150Open mozilla/kitsune/kitsune/sumo/templatetags/jinja_helpers.py/_babel_locale