silverstripe-framework/i18n/i18nRailsYamlAdapter.php

20 lines
420 B
PHP
Raw Normal View History

<?php
namespace SilverStripe\i18n;
use Translate_Adapter_RailsYaml;
require_once 'Zend/Translate.php';
require_once 'zend_translate_railsyaml/library/Translate/Adapter/RailsYAML.php';
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";
}
}