Here’s another solution that solves the problem slightly differently but doesn’t require locale data compilation:
Only use the above one if:
The snapped application doesn’t depend on LC_* environment variables other than LC_MESSAGES(if unsure you probably shouldn’t use it as it breaks parts of the localization other than message translation)