When you don't want to use the param resolver, you simply won't use the
locale in router and will implement a signal that will
setLocale on this class.
When you set the locale to this resolver, it will be stored in session and forced on all other requests of the visitor, because this resolver has the highest priority.
Get this class using autowire, but beware, use only Kdyby\Translation\LocaleResolver\SessionResolver, do not try to autowire Kdyby\Translation\IUserLocaleResolver, it will fail.
- Kdyby\Translation\LocaleResolver\SessionResolver implements Kdyby\Translation\IUserLocaleResolver
Author: Filip Procházka <email@example.com>
Located at Translation/LocaleResolver/SessionResolver.php