@softeq/mls
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-beta.1 • Public • Published

@softeq/mls

@softeq/mls defines CONTRACT for main locale-dependent operations. The primary focus of this library is other locale-dependent libraries that require multi-language support (MLS). Such libraries can rely on operations defined in @softeq/mls library and does not depend on specific MLS implementation.
It is important to note that @softeq/mls defines only contract rather than implementation.

@softeq/mls provides the following locale-dependent operations:

  • number & date formatting/parsing,
  • providing of text translation,
  • providing of current locale.

It is implementation of @softeq/mls contract that provides these operations. List of current implementations can be found here below.

Although this library was initially designed for Angular, now it does not depend on Angular core and can be used for other frameworks or core libraries (just in theory).

Implementations of @softeq/mls contract

  • @softeq/angular-mls-ri is a reference implementation for Angular that relies on
    • @ngx-translate/core to provide translations
    • embedded Angular capabilities for number & date formatting
    • and implements the simplest parsing of number & date values.

Package Sidebar

Install

npm i @softeq/mls

Weekly Downloads

21

Version

1.0.0-beta.1

License

MIT

Unpacked Size

89.1 kB

Total Files

24

Last publish

Collaborators

  • softeq