public function personal_options(WP_User $user)
 {
     $langs = bbl_get_active_langs();
     $current = bbl_get_current_interface_lang_code();
     if (empty($langs)) {
         return;
     }
     $vars = compact('langs', 'current');
     $this->render_admin('switcher-interface.php', $vars);
 }
/**
 * Load the textdomain for Babble's interface language.
 *
 * This is used to attempt to ensure the interface language is used for the admin toolbar. Effective for core, but not themes or plugins which add items to the admin toolbar.
 */
function bbl_load_interface_textdomain()
{
    load_default_textdomain(bbl_get_current_interface_lang_code());
    $GLOBALS['wp_locale'] = new WP_Locale();
}