import re


def remove_translation_fields(data_dict):
    """
    Used to removed translation fields.
    It matches ANYTHING followed by "_" and a 2 letter code.
    ie:
        name_fr (matches)
        reservation_date (doesn't match)
    """
    language_field = re.compile('[a-z0-9_]+_[a-z]{2}$')
    data = {
        k: v for k, v in data_dict.items() if not language_field.match(k)
    }
    return data