Locales and new session implementation