fixing the issue that (in development mode) the primary_locale_name is set per request to the current i18n locale

no tests for that, do with it, what you want, but it fixes the issue.