Log in
Model

Resolver

Magento\Backend\Model\Locale\Resolver

What it does

This class determines and sets the appropriate locale for the Magento Admin panel.

It checks multiple sources in priority order (request parameter, session, user preferences) to resolve which locale should be used for the backend interface, ensuring administrators see the admin panel in their preferred language.

Public Methods

  • setLocale()