Localization API
The Localization API provides the building blocks TYPO3 uses to resolve locales and translate labels from XLIFF files in both Backend and Frontend code. It covers locale parsing and normalization, creation of context-aware translation services, and convenient helpers for TypoScript, Extbase and Fluid.
Locale
Parse and normalize IETF BCP 47 language tags (e.g. de-
) to build a
precise locale context for translations.
LanguageServiceFactory
Create context-aware LanguageService instances at runtime.
LanguageService
Translate labels via LLL:
in PHP; loads XLIFF resources on demand.
LocalizationUtility (Extbase)
Convenience wrapper to translate labels inside Extbase.
Localization in TypoScript
Using LLL:
labels in TypoScript.