# 挪威语被语言检测代理识别为 \`no\`，但内容本地化支持的区域设置为 \`nb\_NO\`

**URL:** <https://meta.discourse.org/t/norwegian-is-identified-as-no-by-locale-detector-agent-content-localization-supported-locales-is-nb-no/402859>\
**Category:** Bug\
**Tags:** ai, fixed\
**Created:** [2026年五月13日 11:53 UTC](https://meta.discourse.org/t/norwegian-is-identified-as-no-by-locale-detector-agent-content-localization-supported-locales-is-nb-no/402859 "2026-05-13T11:53:12Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![nat](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nat/32/235063_2.png) [@nat](https://meta.discourse.org/u/nat)\
**Post date:** [2026年五月18日 03:37 UTC](https://meta.discourse.org/t/norwegian-is-identified-as-no-by-locale-detector-agent-content-localization-supported-locales-is-nb-no/402859/7 "2026-05-18T03:37:57Z")

</div>

> [@nat](#):
>
> 您可以复制当前的代理以进行语言检测，并更新其提示，使其在遇到挪威语时使用 `nb_NO`。

更新：此建议现已整合到默认代理中。

> <https://github.com/discourse/discourse/pull/40029>
>
> Related: https://meta.discourse.org/t/norwegian-is-identified-as-no-by-locale-de…tector-agent-content-localization-supported-locales-is-nb-no/402859
> 
> Norwegian posts get detected as \`no\` while sites set the target as \`nb\_NO\`. In this PR we'll appending whatever's in content\_localization\_supported\_locales (i.e. \`Norwegian Bokmål: nb-NO\` in this case) to the prompt.

因此，如果您配置了挪威语或希腊语，该代理现在应已引用这些语言代码。

---

_[View the full topic](https://meta.discourse.org/t/norwegian-is-identified-as-no-by-locale-detector-agent-content-localization-supported-locales-is-nb-no/402859)._
