9.0.1 • Published 5 years ago

@openowner/ng-tools v9.0.1

Weekly downloads
-
License
-
Repository
github
Last release
5 years ago

Open Owner Angular Tools

Common components, services, and pipes to help you make Angular apps faster.

Contents

Getting Started

Requirements
  • Node.js 10.13+
  • Angular 9+
Installation in Your App

npm i @openowner/ng-tools

Translations

The library has many common translations already available for localization (l10n). Things like save, cancel, ok, etc… that every app will use.

How It Works

All you have to do is use a pipe or use the service method to get the translation for the user's language.

If any phrase is NOT found in the user's chosen locale it will fallback to the english version.

Example:

{{ 'ok' | l10n }}:

or

this.localization.translate('save')