silverstripe-framework/i18n/i18nRailsYamlAdapter.php

20 lines
406 B
PHP
Raw Normal View History

<?php
require_once 'Zend/Translate.php';
require_once 'zend_translate_railsyaml/library/Translate/Adapter/RailsYAML.php';
/**
2012-06-20 23:59:16 +02:00
* @package framework
* @subpackage i18n
*/
class i18nRailsYamlAdapter extends Translate_Adapter_RailsYaml implements i18nTranslateAdapterInterface {
2014-08-15 08:53:05 +02:00
/**
* @param String
* @return String
*/
public function getFilenameForLocale($locale) {
return "$locale.yml";
}
}