TranslationSourceCatalogInterface
interface TranslationSourceCatalogInterface (View source)
Exposes physical source translations without the mutable override layer
Methods
locales()
Returns locales with at least one physical source file
array
groups(string $locale)
Returns groups physically covered by the selected locale
array
entries(string|null $locale = null)
Returns effective source values and all contributions without locale fallback
array
lines(string $locale, string $group)
Returns effective source values for one group and exact locale
array
Details
locales
array
locales()
Returns locales with at least one physical source file
groups
array
groups(string $locale)
Returns groups physically covered by the selected locale
entries
array
entries(string|null $locale = null)
Returns effective source values and all contributions without locale fallback
lines
array
lines(string $locale, string $group)
Returns effective source values for one group and exact locale