silverstripe-framework/i18n/i18nRailsYamlAdapter.php
2012-06-20 23:59:57 +02:00

20 lines
407 B
PHP

<?php
require_once 'Zend/Translate.php';
require_once 'zend_translate_railsyaml/library/Translate/Adapter/RailsYAML.php';
/**
* @package framework
* @subpackage i18n
*/
class i18nRailsYamlAdapter extends Translate_Adapter_RailsYaml implements i18nTranslateAdapterInterface {
/**
* @param String
* @return String
*/
public function getFilenameForLocale($locale) {
return "$locale.yml";
}
}