In a project I am using formtastic as the formbuilder and I needed to show and save the country in some models. As suggested on the formtastic page I used the iso-3166-country-select plugin as a quick solution. The country names in this plugin are directly in code and not localizable, so that quite soon the question was asked why the entries are in English. Another requirement was to display the country codes instead of the full country name.
The LocalizedCountrySelect plugin provides localized country names which can be downloaded for a lot of languages.
Unfortunately the functions have “localized_” prepended. Formtastic expects the iso-3166-country-select function names without “localized_” so I forked the project, changed the function names and also added an option to show the country codes.