Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (16 sloc) 0.407 kB
<?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";
}
}
Jump to Line
Something went wrong with that request. Please try again.