public static function addJavascripts($culture = null)
    {
        $path = sfConfig::get('sf_sfSelect2Widgets_select2_web_dir');
        $available_cultures = sfConfig::get('sf_sfSelect2Widgets_available_cultures');

        $javascripts = array($path . '/select2.js');

        if ($culture != 'en' && in_array($culture, $available_cultures)) {
            $javascripts[] = $path . '/select2_locale_' . $culture . '.js';
        }

        return $javascripts;
    }