Skip to content

appstream: Fix how we generate the xml:lang tag

For chinese variants, we were using the likes of zh-CN instead of zh_CN. This would libappstream get confused and not show the translated string. Replacing the - for _ so the look-up works again.

BUG: 465897

@teams/localization @matthiask

Merge request reports