| Methods |
public
|
get(string $key, ?string $locale = null): ?string
|
#
|
public
|
getTitle(?string $locale = null): string
|
#
|
public
|
getDescription(?string $locale = null): string
|
#
|
public
|
all(?string $locale = null): array<string, string>
|
#
|
public
|
getAvailableLocales(): string[]
Returns the list of available locales derived from i18n*.properties files.
Returns the list of available locales derived from i18n*.properties files.
The implicit base locale (i18n.properties) is intentionally excluded, as it
represents the default fallback and not a concrete locale.
Returns
List of locale identifiers (e.g. ['de', 'en'])
|
#
|
public
static
|
fromI18nProperties(string $path): self
|
#
|
public
static
|
fromMessageBundles(string $path, string $namespace): self
|
#
|
public
static
|
fromBundles(string $path): self
|
#
|