#Universal Language Selector
#Interfaces
| Interface | Description |
|---|---|
| ApiUlsLocalizationMetadata | Metadata block of a ULS localization bundle, carried over from the source i18n files. Only the keys the wiki's ULS files actually use appear. |
| ApiUlsLocalizationResponse | Response of action=ulslocalization: the ULS message bundle for one language (its fallback chain merged in), returned raw as JSON — there is no envelope and no ulslocalization wrapper. Keys are ULS message ids (e.g. uls-region-WW) mapped to their translation; @metadata holds the source file credits. The module is internal to ULS; responses are cached publicly for 28 days. |
| ApiUlsSetLanguageResponse | Response of action=ulssetlang (CSRF-token POST): stores the interface language in the named user's preferences. A success response carries no payload keys. Anonymous callers only succeed when $wgULSAnonCanChangeLanguage is enabled (then only a cookie is set, likewise with no payload). |