Skip to content
This repository has been archived by the owner on Dec 3, 2024. It is now read-only.

effyteva/Teva.Common.Cultures

Repository files navigation

Teva.Common.Cultures

This library helps overcome differences between CultureInfo on Windows machines, and Linux machines. It uses a simple Embedded Resource, containing CultureInfo information exported from a Windows 10 machine. When fetching a CultureInfo instance, the library populates it from the stored JSON.

Additional Features

  • Simple caching method, for improving the serialization process.
  • This library is compiled using .NET standard.
  • For reduced memory footprint, simplly delete the irrelevant cultures from the cultures folder, and recompile.

How to use this library?

  • This library should be as each to implement as possible.
  • Instead of invoking 'new System.Globalization.CultureInfo("en-US")', invoke 'Teva.Common.Cultures.CultureHelper.GetCulture("en-US")'.

Good luck, Effy

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages