Filter language-selector HTML

pom_translate_language_switcher_html receives:

($html, $clickable_items, $merge_tag_options, $args)

It runs after POM Translate has built localized links, labels, current-language state, accessibility attributes, and the requested format.

Return a string. Preserve usable alternate links and current-language semantics when changing wrappers. Treat item data as read-only and escape any new attributes or text.

Use render arguments or configured markup before reaching for this final filter. A callback that rebuilds every URL manually can lose exclusions, localized slugs, query strings, fragments, and hreflang.