Skip to content
This repository has been archived by the owner on May 11, 2023. It is now read-only.

pageuppeople-opensource/PageUp.CldrPackager

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PageUp.CldrPackager

Build status

To publish a new package version to NuGet, increment the version in .\src\PageUp.CldrPackager.csproj file.

<PropertyGroup>
    <Version>0.0.1</Version>
</PropertyGroup>

.NET Standard compliant CLDR (Common Locale Definition Library. Visit http://cldr.unicode.org/ for more information) library which can be consumed by monolith and microservices.

CLDR Packager

Its job is to provide parsing mechanism for CLDR Json data (say https://www.npmjs.com/package/cldr-dates-modern).

The parser forms a tree like structure and provide meaningful APIs to access relevant data. The data can also be written to (and read from) the binary file as illustrated below

var data = CldrData.LoadFromFile("cldr.bin");
var path = "dates.calendars.gregorian.months.format.abbreviated.1";
Console.WriteLine(data.GetValue(path, enGB)); 

Wiki

To know more, please visit https://github.com/pgolebiowski/Onism.Cldr/wiki

License

The MIT License. Basically, you can do whatever you want as long as you include the original copyright and license notice in any copy or substantial use of this work.

About

CLDR library for .NET

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%