mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
8a07c56bdf
API Implement enhanced pluralisation Remove Zend_Translate and all Zend dependencies from i18n Deprecated $context from i18n::_t() Warn on missing default string for i18n::_t()
19 lines
374 B
PHP
19 lines
374 B
PHP
<?php
|
|
|
|
namespace SilverStripe\i18n\Messages;
|
|
|
|
/**
|
|
* Message reader. Inverse of Writer
|
|
*/
|
|
interface Reader
|
|
{
|
|
/**
|
|
* Get messages from this locale
|
|
*
|
|
* @param string $locale
|
|
* @param string $path Filename (or other identifier)
|
|
* @return array messages Flat array of localisation keys to values.
|
|
*/
|
|
public function read($locale, $path);
|
|
}
|