class CsvFileLoader extends FileLoader
CsvFileLoader loads translations from CSV files.
Methods
MessageCatalogue | load(mixed $resource, string $locale, string $domain = 'messages') Loads a locale. | from FileLoader |
setCsvControl(string $delimiter = ';', string $enclosure = '"', string $escape = '\\') Sets the delimiter, enclosure, and escape character for CSV. |
Details
MessageCatalogue load(mixed $resource, string $locale, string $domain = 'messages')
Loads a locale.
setCsvControl(string $delimiter = ';', string $enclosure = '"', string $escape = '\\')
Sets the delimiter, enclosure, and escape character for CSV.
Please login to continue.