# AI helper does not always use user's locale

**URL:** https://meta.discourse.org/t/ai-helper-does-not-always-use-users-locale/298867
**Category:** Bug
**Tags:** ai, ai-helper
**Created:** [March 11, 2024, 11:54am UTC](https://meta.discourse.org/t/ai-helper-does-not-always-use-users-locale/298867 "2024-03-11T11:54:21Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [July 24, 2025, 6:22am UTC](https://meta.discourse.org/t/ai-helper-does-not-always-use-users-locale/298867/6 "2025-07-24T06:22:49Z")

</div>

looking at the code now, looks like it is cached per locale:

> <https://github.com/discourse/discourse/blob/808a14368efc9c74c41ab4ba7e02b34162f3ea85/plugins/discourse-ai/lib/ai_helper/assistant.rb#L32-L33>

@Moin is this resolved for you?

---

_[View the full topic](https://meta.discourse.org/t/ai-helper-does-not-always-use-users-locale/298867)._
