LanguageServiceFactory
This factory class is for retrieving the LanguageService at runtime, which then is used to translate strings in plain PHP. For examples see Localization in PHP. Creates a LanguageService that can then be used for localizations.
- class LanguageServiceFactory
-
- Fully qualified name
-
\TYPO3\
CMS\ Core\ Localization\ Language Service Factory
- create ( TYPO3\CMS\Core\Localization\Locale|string $locale)
-
Factory method to create a language service object.
- param $locale
-
the locale
- Returns
-
\TYPO3\
CMS\ Core\ Localization\ Language Service