AI helper does not always use user's locale

I don’t have any specific steps to reproduce the issue. However, I recently encountered a second instance where the AI helper modal did not display in English, despite making no changes to my locale settings. Below is a screenshot I took 2 weeks ago. Although my locale was set to English, it appeared in German.

This is the screenshot I took just now:

4 Likes

Hey @Moin,

I suspect this may be a caching issue. The list of prompts are fetched once and cached, but I believe it should be refreshed each day. Did you have your language ever previously set as German and then change it to English?

1 Like

I definitely had it set to German when I joined meta. Though I cannot remember the last time I used Meta in German[1]. So that’s why I did not report when it showed up in German. But I don’t think I ever chose French since I don’t speak French.


  1. I didn’t like to change the locale to take a screenshot ↩︎

2 Likes

It happened again


Bert is multilingual today.

2 Likes

@keegan the cache key here is not keyed on locale, so it will cache the localized version of the user who requests it first every 30 minutes

Ideal solution is to translate on client. Less ideal is to cache on locale.

4 Likes

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

@Moin is this resolved for you?

3 Likes

This topic was automatically closed after 3 days. New replies are no longer allowed.