# Locale URLs API reference

> API reference of the Locale URLs extension (yii2\extensions\localeurls), generated from its PHPDoc.

[API reference](/docs/api/index.md) › Locale URLs

Classes, interfaces, traits and enums of `yii2\extensions\localeurls`, generated from the PHPDoc of [yii2-extensions/localeurls](https://github.com/yii2-extensions/localeurls) at `main`. Machine-readable catalog: [localeurls.json](https://yii2-framework.github.io/docs/reference/localeurls.json).

## Classes

| Class | Summary |
| --- | --- |
| [`LanguageChangedEvent`](/docs/extensions/localeurls/reference/languagechangedevent/index.md) | Represents the [`UrlLanguageManager::EVENT_LANGUAGE_CHANGED`](/docs/extensions/localeurls/reference/urllanguagemanager/index.md#event-EVENT_LANGUAGE_CHANGED) event, raised when a language from the URL differs from the persisted one. |
| [`UrlLanguageManager`](/docs/extensions/localeurls/reference/urllanguagemanager/index.md) | Resolves the application language from a URL code, the persisted choice, the browser, or GeoIP, and adds the language code to created URLs. |