def render_placeholder_search_text(placeholder, fallback_language=None):
    parent_object = placeholder.parent   # this is a cached lookup thanks to PlaceholderFieldDescriptor
    language = get_parent_language_code(parent_object)
    output = SearchRenderingPipe(language).render_placeholder(
        placeholder=placeholder,
        parent_object=parent_object,
        fallback_language=fallback_language
    )
    return output.html   # Tags already stripped.
Render a :class:`~fluent_contents.models.Placeholder` object to search text.
dataset/ETHPy150Open edoburu/django-fluent-contents/fluent_contents/rendering/main.py/render_placeholder_search_text