private static function set_current_lang_from_post_id($postId)
    {
        if (WpCxense::instance()->settings->languagesIsEnabled()) {
            WpCxense::instance()->settings->setCurrentLocale(LanguageProvider::getPostLanguage($postId));
        }
    }