title: Only show country subset text in bootstrap formhelpers country picker
body: <p>I am using <a href="http://bootstrapformhelpers.com/country/" rel="nofollow">Bootstrap FormHelpers country picker</a> and I have the following init code:</p>
  
  <pre><code>&lt;div class="bfh-selectbox bfh-languages pull-right" data-language="es_ES" data-available="gl_ES,ca_ES,eu_ES,es_ES" data-flags="false" data-blank="false"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>This code generate this output:</p>
  
  <pre><code>&lt;div class="bfh-selectbox bfh-languages pull-right" data-language="es_es" data-available="gl_ES,ca_ES,eu_ES,es_ES" data-flags="false" data-blank="false"&gt;
  &lt;input type="hidden" name="" value="es_es"&gt;
  &lt;a class="bfh-selectbox-toggle form-control" role="button" data-toggle="bfh-selectbox" href="#"&gt;
  &lt;span class="bfh-selectbox-option"&gt;Galego (Spain)&lt;/span&gt;
  &lt;span class="caret selectbox-caret"&gt;&lt;/span&gt;&lt;/a&gt;
  
  &lt;div class="bfh-selectbox-options"&gt;
      &lt;div role="listbox"&gt;
          &lt;ul role="option"&gt;
              &lt;li&gt;
                  &lt;a tabindex="-1" href="#" data-option="gl_ES"&gt;Galego (Spain)&lt;/a&gt;
              &lt;/li&gt;
              &lt;li&gt;&lt;a tabindex="-1" href="#" data-option="ca_ES"&gt;Català (Spain)&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt;&lt;a tabindex="-1" href="#" data-option="eu_ES"&gt;Euskara (Spain)&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt;&lt;a tabindex="-1" href="#" data-option="es_ES"&gt;Español (Spain)&lt;/a&gt;&lt;/li&gt;
          &lt;/ul&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p></p>
  
  <p>That's is fine, but I would get only the subset names like "Galego", "Catalá", "Euskara", and "Español", but avoiding the append of " (Spain)" (country name). So the bootstrap select only will show the subset locale country names.</p>
  
  <p>Could be this implemented easily? The only thing that I think that could work and it is very ugly is access to the DOM and remove in each li role="option" the " (Spain)" text after load the page, but I am looking for some elegant way maybe initializing bootstrap options.</p>