def string_index_type_compatibility(string_index_type):
    """Language API changed this string_index_type option to plural.
    Convert singular to plural for language API
    """
    if string_index_type == "TextElement_v8":
        return "TextElements_v8"
    return string_index_type