string choice(string $key, int|array|Countable $number, array $replace = array(), string $locale
string locale() Get the default locale being used.
static void macro(string $name, callable $macro) Register a
static bool hasMacro(string $name) Checks if macro is registered
TranslationServiceProvider class TranslationServiceProvider extends
$this addMessages(string $locale, string $group, array $messages, string|null $namespace = null)
void setFallback(string $fallback) Set the fallback locale being used.
void setLocale(string $locale) Set the default locale.
array provides() Get the services provided by the provider.
void addLines(array $lines, string $locale, string $namespace = '*') Add
Page 3 of 5