# Locale detector return value issues

**URL:** https://meta.discourse.org/t/locale-detector-return-value-issues/381852
**Category:** Bug
**Tags:** content-localization
**Created:** [September 7, 2025, 8:49am UTC](https://meta.discourse.org/t/locale-detector-return-value-issues/381852 "2025-09-07T08:49:31Z")
**Posts on this page:** 1
**Showing post:** 8

<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: [November 5, 2025, 10:17am UTC](https://meta.discourse.org/t/locale-detector-return-value-issues/381852/8 "2025-11-05T10:17:11Z")

</div>

I merged a fix here that included updating the prompt and moving examples away from the system prompt and into proper interaction.

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

Our team is also currently working on evals to improve reliability across various LLMs.

---

_[View the full topic](https://meta.discourse.org/t/locale-detector-return-value-issues/381852)._
