class QtFileLoader implementsLoaderInterface

QtFileLoader loads translations from QT Translations XML files.

Methods

MessageCatalogue
load(mixed$resource,string$locale,string$domain ='messages')

Loads a locale.

Details

MessageCatalogue load(mixed$resource,string$locale,string$domain ='messages')

Loads a locale.

Parameters

mixed $resource
string $locale
string $domain

Return Value

MessageCatalogue

Exceptions

NotFoundResourceException when the resource cannot be found
InvalidResourceException when the resource cannot be loaded