void addNamespace(string $namespace, string $hint) Add a new namespace
string locale() Get the default locale being used.
static void macro(string $name, callable $macro) Register a
string transChoice(string $id, int|array|Countable $number, array $parameters = array(), string
$this addMessages(string $locale, string $group, array $messages, string|null $namespace = null)
static bool hasMacro(string $name) Checks if macro is registered
void setFallback(string $fallback) Set the fallback locale being used.
void setLocale(string $locale) Set the default locale.
TranslationServiceProvider class TranslationServiceProvider extends
LoaderInterface getLoader()
Page 3 of 5