ProviderInterface
interface ProviderInterface (View source)
Methods
List the available translations for a specific core version.
Get core translations stats for a specific locale ID.
List the available translations for a specific package version.
Get package translations stats for a specific locale ID.
Fetch the translations for the concrete5 core.
Fetch the translations for a package.
Fill-in already known translations.
Details
Stats[]
getAvailableCoreStats(string $coreVersion, int|null $progressLimit = null)
List the available translations for a specific core version.
Stats
getCoreStats(string $coreVersion, string $localeID, int|null $progressLimit = null)
Get core translations stats for a specific locale ID.
Stats[]
getAvailablePackageStats(string $packageHandle, string $packageVersion, int|null $progressLimit = null)
List the available translations for a specific package version.
Stats
getPackageStats(string $packageHandle, string $packageVersion, $localeID, $progressLimit = null)
Get package translations stats for a specific locale ID.
string
fetchCoreTranslations(string $coreVersion, string $localeID, string $formatHandle = 'mo')
Fetch the translations for the concrete5 core.
string
fetchPackageTranslations(string $packageHandle, string $packageVersion, string $localeID, string $formatHandle = 'mo')
Fetch the translations for a package.
Translations
fillTranslations(Translations $translations)
Fill-in already known translations.