I'm not totally sure I understand what you're saying here, but I think what I'm trying to fix is here different:

In the database locales are all lowercase (i.e. `en-us` instead of `en-US`) so using `client.locale` which is mixed case, will never match.