Retrieving Locale of Bitbucket User


I’m trying to retrieve the locale a Bitbucket User is using, but I can’t find how to do that. I have the ApplicationUser object, but this does not contain the locale, and there seems to be no service.

Looking through the source code a bit, I found a com.atlassian.stash.internal.user.InternalLocaleManager, but as the name implies, this an internal class and so I don’t have access to this.

So, does somebody know how to access the used locale of a user?

Regards and thanks for the help
Heiko Mattes