# Unexpected language code

**URL:** https://meta.discourse.org/t/unerwarteter-sprachcode/402544
**Category:** Bug
**Tags:** translation, fixed, content-localization
**Created:** [May 9, 2026, 5:23am UTC](https://meta.discourse.org/t/unerwarteter-sprachcode/402544 "2026-05-09T05:23:37Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![asa](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/asa/32/184869_2.png) [@asa](https://meta.discourse.org/u/asa)
#### Post date: [May 11, 2026, 12:43pm UTC](https://meta.discourse.org/t/unerwarteter-sprachcode/402544/5 "2026-05-11T12:43:14Z")

</div>

I have submitted a Pull Request to fix this in the Discourse repository:

[https://github.com/discourse/discourse/pull/39884](https://github.com/discourse/discourse/pull/39884)

This change ensures the `hreflang` attribute is SEO-compliant while keeping the internal locale parameters functional.

---

_[View the full topic](https://meta.discourse.org/t/unerwarteter-sprachcode/402544)._
