interface TranslationSourceCatalogInterface (View source)

Exposes physical source translations without the mutable override layer

Methods

array

Returns locales with at least one physical source file

array
array
groups(string $locale)

Returns groups physically covered by the selected locale

array
array
entries(string|null $locale = null)

Returns effective source values and all contributions without locale fallback

array
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

Return Value

array

groups

array groups(string $locale)

Returns groups physically covered by the selected locale

Parameters

string $locale

Return Value

array

entries

array entries(string|null $locale = null)

Returns effective source values and all contributions without locale fallback

Parameters

string|null $locale

Return Value

array

lines

array lines(string $locale, string $group)

Returns effective source values for one group and exact locale

Parameters

string $locale
string $group

Return Value

array