The PHPFUI\Translation\MissingLogger allows a system to somehow record missing translations.
The default implementation simply returns the passed translation back, override to add your specific functionality and set with \PHPFUI\Translation\Translator::setTranslationMissing
The missing method will only get called when the translation system can not find a predefined translation.
CloneableInstantiable
Methods |
public missing(string $missing, string $baseLocale) : string missing is called when a translation can not be found
|