PHP Interface 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'
]
]
显示文件
Open project: fenos/notifynder
Public Methods
Method Details
getLanguage()
public method
Get selected language of translations.
getTranslations()
public method
translate()
public method
Translate the given category.