return $this->_nativegettext;
}
-
+ /**
+ * Set native locale for getText.
+ *
+ * @param string $locale
+ */
protected function setNativeGettextLocale($locale) {
$locale .= '.utf8';
}
+ /**
+ * Set getText locale.
+ *
+ * @param string $locale
+ */
protected function setPhpGettextLocale($locale) {
// we support both the old file hierarchy format and the new:
}
-
/**
* Return languages available in this instance of CiviCRM.
*
return strtr($str, $tr);
}
+ /**
+ * Get the directory for l10n resources.
+ *
+ * @return string
+ */
public static function getResourceDir() {
static $dir = NULL;
if ($dir === NULL) {