The problem:
- Go to https://commons.wikimedia.org/wiki/File:Abdomal_organs_body.svg
- User Mrmw added a new SVG switch translation specifying systemLanguage="als". (Mrmw intended Swiss German, but that is beside the point.)
- At the Commons Information page, the als langtag is reported as "Swiss German (gsw)" in the "Render this image in" dropdown box
- I added to the SVG file another switch translation using systemLanguage="gsw".
- The information page now reports two dropdown entries as "Swiss German (gsw)"; one for HTTP uselang=als and another for HTTP uselang=gsw.
- See https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry
- gswis the IETF langtag for Swiss German/Alemannic/Alsatian
- als is the IETF langtag for Tosk Albanian
Expected Results (what should have happened?):
- The SVG systemLanguage attribute uses IETF langtags to specify the language.
- SVG does not use WMF language identifiers. https://als.wikipedia.org may be a Swiss German wiki, but als is not an IETF langtag for Swiss German.
- MW should report systemLanguage="als" as Tosk Albanian or unknown. Within an SVG file, it should never be reported as Swiss German. It is not a langtag for Alsatian.
Note: When als.wikipedia.org transcludes a multilingual SVG file, it uses the correct default langtag of gsw.