LocaleNames 39.0.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package LocaleNames --version 39.0.1
NuGet\Install-Package LocaleNames -Version 39.0.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="LocaleNames" Version="39.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add LocaleNames --version 39.0.1
#r "nuget: LocaleNames, 39.0.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install LocaleNames as a Cake Addin
#addin nuget:?package=LocaleNames&version=39.0.1

// Install LocaleNames as a Cake Tool
#tool nuget:?package=LocaleNames&version=39.0.1

Locale Names

NuGet NuGet

This project aims to provide localized language names and country names.

The translation data are generated from CLDR locale data for internationalization.

Usage

Find language name

var translatedLanguageName = LocaleTranslations.ForCultureInfo(new CultureInfo("en-US")).FindLanguageName("cs-CZ");

Find language code

var languageCode = LocaleTranslations.ForCultureInfo(new CultureInfo("en-US")).FindLanguageCode("Czech");

Find country name

var translatedCountryName = LocaleTranslations.ForCultureInfo(new CultureInfo("en-US")).FindCountryName("DE");

Find country code

var countryCode = LocaleTranslations.ForCultureInfo(new CultureInfo("en-US")).FindCountryCode("Germany");

Contributing

Contributions are welcome. Feel free to file issues and pull requests on the repo.

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
43.0.0 5,594 7/3/2023
42.0.1 3,770 12/6/2022
41.0.1 1,645 10/17/2022
41.0.0 1,078 4/19/2022
40.0.0 1,999 11/9/2021
39.0.5 398 10/21/2021
39.0.4 335 10/15/2021
39.0.3 356 9/10/2021
39.0.2 321 7/20/2021
39.0.1 299 5/12/2021
39.0.0 330 5/11/2021
37.1.3 419 3/2/2021
37.1.2 430 11/24/2020
37.1.1 374 11/23/2020
37.1.0 417 11/23/2020
37.0.2 388 11/23/2020
37.0.1 447 11/19/2020
37.0.0 460 11/18/2020