flag_html: a decorative emoji flag
{%flag_html%} returns the locale's emoji flag inside prepared HTML:
<span class="pom-translate-language-switcher__flag-emoji" aria-hidden="true">…</span>
The wrapper keeps the decorative emoji out of the accessible name. The output is empty when the locale definition has no flag data, and it is generated only when the template requests flag_html or flag_emoji.
Use the prepared wrapper
{%flag_html%} {%local_label%}
This is the preferred emoji form when no custom wrapper is required. Keep a visible language name beside it because the flag is intentionally hidden from assistive technology and cannot identify every language unambiguously.
Style the supplied class
Target .pom-translate-language-switcher__flag-emoji in the site's stylesheet when spacing or alignment needs adjustment. Do not place a second interactive element inside the template; POM Translate generates the surrounding language link.
Check platform rendering
Emoji appearance varies by operating system and browser. Test all configured languages on representative devices, including any locale without flag data. If consistent artwork matters more than native emoji rendering, use flag_image.