# In a plugin, how can I force clients to re-load extra-locales file?

**URL:** <https://meta.discourse.org/t/in-a-plugin-how-can-i-force-clients-to-re-load-extra-locales-file/233539>\
**Category:** Development\
**Created:** [July 21, 2022, 1:17pm UTC](https://meta.discourse.org/t/in-a-plugin-how-can-i-force-clients-to-re-load-extra-locales-file/233539 "2022-07-21T13:17:36Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)\
**Post date:** [July 21, 2022, 2:56pm UTC](https://meta.discourse.org/t/in-a-plugin-how-can-i-force-clients-to-re-load-extra-locales-file/233539/2 "2022-07-21T14:56:35Z")

</div>

> [@merefield](#):
>
> ```plaintext
> Discourse.request_refresh!
> 
> ```
> 
> or the more targetted:
> 
> `Discourse.request_refresh!(user_ids: user_ids)`

Note that this function behaves very differently when the `user_ids` parameter is present and when it’s not.

Did you try `MessageBus.publish "/file-change", ["refresh"]` ?

---

_[View the full topic](https://meta.discourse.org/t/in-a-plugin-how-can-i-force-clients-to-re-load-extra-locales-file/233539)._
