LocaleNames 39.0.1

The LocaleNames library provides language and country names translation to almost any language.

Install-Package LocaleNames -Version 39.0.1
dotnet add package LocaleNames --version 39.0.1
<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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: LocaleNames, 39.0.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. 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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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.

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.

Release Notes

Check: https://github.com/jslachta/LocaleNames/releases

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
39.0.1 61 5/12/2021
39.0.0 47 5/11/2021
37.1.3 88 3/2/2021
37.1.2 138 11/24/2020
37.1.1 109 11/23/2020
37.1.0 122 11/23/2020
37.0.2 118 11/23/2020
37.0.1 152 11/19/2020
37.0.0 121 11/18/2020