pre/post setLocale hooks #544
nkoehring
started this conversation in
DX improvements
Replies: 1 comment 2 replies
-
Hi @nkoehring, |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It would be very useful to be able to globally register hooks that run before or after setting a locale. These could be used to do things like setting
<html lang="$newLocale">
oraxios.defaults.headers.common['Accept-Language'] = locale
.Beta Was this translation helpful? Give feedback.
All reactions