@universal-packages/core-localization
v1.3.20
Published
Localization universal-core module abstraction.
Downloads
118
Readme
Core Localization
Localization universal-core module abstraction.
Install
npm install @universal-packages/core-localization
Initialization
ucore initialize localization
Global
Core expose Localization
as the global subject if core modulesAsGlobals
config is true.
localizationSubject.translate()
core.coreModules.localizationModule.subject.translate()
Typescript
In order for typescript to see the global types you need to reference the types somewhere in your project, normally ./src/globals.d.ts
.
/// <reference types="@universal-packages/core-localization" />
This library is developed in TypeScript and shipped fully typed.
Contributing
The development of this library happens in the open on GitHub, and we are grateful to the community for contributing bugfixes and improvements. Read below to learn how you can take part in improving this library.