diff --git a/core/i18n.php b/core/i18n.php index af7b786d5..4210f10fa 100755 --- a/core/i18n.php +++ b/core/i18n.php @@ -1180,6 +1180,25 @@ class i18n extends Controller { return Translatable::default_lang(); } + /** + * Enables the multilingual content feature (proxy for Translatable::enable()) + */ + static function enable() { + Translatable::enable(); + } + + /** + * Disable the multilingual content feature (proxy for Translatable::disable()) + */ + static function disable() { + Translatable::disable(); + } + + /** + * Include a locale file determined by module name and locale + * + * @param string $module Module that contains the locale file + /** * Include a locale file determined by module name and locale *