PHP Интерфейс Fenos\Notifynder\Contracts\NotifynderTranslator
The Translator is responsible to translate the text
of the notifications with the custom languages that
you define in the configuration file. Translations
are cached in storage/app/notifynder in a json format.
Usage:
[
'it' => [
'name.category' => 'text to translate'
]
]
Показать файл
Открыть проект
Открытые методы
Описание методов
getLanguage()
публичный Метод
Get selected language of translations.
getTranslations()
публичный Метод
translate()
публичный Метод
Translate the given category.