The simplest way to list every country as a selectable dropdown 🤘
- Display a select field with every ISO 639-1 language. tl;dr: The two-letter code.
- Built-in localization in 70+ languages.
- Set a placeholder.
- Allow multiple selections.
- Set a maximum number of selectable items.
- Enable searching through possible options.
We have made things easy for you start. Here is the three steps your need to follow:
-
Install the addon
Simply runcomposer require parfaitementweb/statamic-country-fieldtype
You also can follow official Statamic help guide -
Add the Country fieldtype.
Choose your display and hanlde values. Customize the behavior using our various fieldtypes settings. -
Enjoy.
Country values are automaticaly displayed in current user locale, based on the current locale
from the App::getLocale()
value.
The addon supports Afrikaans, Amharic, Arabic, Azerbaijani, Belorussian, Bulgarian, Bengali, Bosnian, Catalan, Czech, Danish, German, English, Spanish, Estonian, Persian, Finnish, French, Galician, Greek, Hausa, Hebrew, Hindi, Croatian, Hungarian, Armenian, Icelandic, Italian, Indonesian, Japanese, Georgian, Kazakh, Khmer, Korean, Kurdish, Kyrgyz, Lithuanian, Latvian, Macedonian, Malayalam, Mongolian, Malay, Norwegian Bokmål, Dutch, Norwegian Nynorsk, Norwegian, Polish, Pashto, Portuguese, Romanian, Russian, Sindhi, Slovak, Slovene, Somali, Albanian, Serbian, Swedish, Tamil, Tajik, Thai, Turkish, Tatar, Uyghur, Ukrainian, Urdu, Uzbek, Chinese, Vietnamese.
V1.0.0
🚀 Launching this awesome fieldtype to every country.