UmbCountryPicker 13.8.7
dotnet add package UmbCountryPicker --version 13.8.7
NuGet\Install-Package UmbCountryPicker -Version 13.8.7
<PackageReference Include="UmbCountryPicker" Version="13.8.7" />
<PackageVersion Include="UmbCountryPicker" Version="13.8.7" />
<PackageReference Include="UmbCountryPicker" />
paket add UmbCountryPicker --version 13.8.7
#r "nuget: UmbCountryPicker, 13.8.7"
#:package UmbCountryPicker@13.8.7
#addin nuget:?package=UmbCountryPicker&version=13.8.7
#tool nuget:?package=UmbCountryPicker&version=13.8.7
UmbCountryPicker
A friendly country picker property editor for Umbraco CMS. The perfect dropdown for selecting countries in your Content Editor interface!
Why Use UmbCountryPicker?
- Intuitive UI: Provides a simple dropdown that lists countries for content editors.
- Smooth Integration: Plug it right into your .NET-powered Umbraco site with minimal fuss.
- Backoffice Localization: Country names will be displayed based on the user’s Backoffice language setting.
Features at a Glance
Feature | Description |
---|---|
Dropdown UI | Clean, user-friendly country selection in the editor. |
.NET Integration | Register it, use it, done! |
Auto-Translated Country Names | Languages adjust based on Backoffice culture settings. |
Getting Started
Installation
- Install the package:
dotnet add package UmbCountryPicker
- In your Umbraco backoffice, create a new Data Type.
- Assign UmbCountryPicker as the editor.
- Use this Data Type wherever you want your country dropdown functionality.
Screenshots & Localization Examples
As an example let's say this is your template code(sprinkled with a bit of CSS):
Let's look closer at how the content editor will interact with this and see the output
Content Editor View
Frontend Display
Backoffice Localization
- Default (en-US)
- Danish (da): Shows dropdown labeled in Danish.
- Default (en-US)
Under the Hood
UmbCountryPicker works by pulling in countries via ISO standards from its internally stored list and displays them in the appropriate culture. It includes:
- A manifest and UI component (JavaScript or Razor).
- A value converter (e.g.,
CountryPickerValueConverter.cs
) for Umbraco's ModelsBuilder for smooth retrieval of strongly typed country data in templates or views.
License
Licensed under MIT, so feel free to use it in personal or commercial projects with peace of mind.
Final Thoughts
UmbCountryPicker keeps things simple, localized, and developer-friendly. It’s almost plug‑and‑play: add to your Data Types, use it in your Document Types, and you're good to go + plus you're freed from managing country lists or translations yourself.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- EarthCountriesInfo (>= 4.0.0)
- Umbraco.Cms.Web.BackOffice (>= 13.8.1)
- Umbraco.Cms.Web.Website (>= 13.8.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.