diff --git a/core/model/Translatable.php b/core/model/Translatable.php index 8318e52e1..7a9eb4d06 100755 --- a/core/model/Translatable.php +++ b/core/model/Translatable.php @@ -1059,6 +1059,13 @@ class Translatable extends DataObjectDecorator { return i18n::get_lang_from_locale(self::get_reading_locale()); } + /** + * @deprecated 2.4 Use default_locale() + */ + static function default_lang() { + return i18n::get_lang_from_locale(self::default_locale()); + } + /** * @deprecated 2.4 Use get_by_locale() */