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'
]
]
Afficher le fichier
Open project: fenos/notifynder
Méthodes publiques
Method Details
getLanguage()
public méthode
Get selected language of translations.
getTranslations()
public méthode
translate()
public méthode
Translate the given category.