rift-translations
TypeScript icon, indicating that this package has built-in type declarations

1.0.12 • Public • Published

library init

The translation initialisation file src\index.ts

translation namespaces

You can set up as many namespaces as required to swicth between different translations amtrak.json default.json dgauge.json tfl.json

translate_func

In_App

conversion namespaces

for conversions I have set up unit namespaces A mix of imperial and metric combo.json imperial imperial.json metric metric.json

convert_func

In_App

date/time

For dates/time I have set up company namespaces tuv tuv.json

extending moment js for timezones and date format here

In_App_Dates

In_App_Times

formatting

You can configure the translations to format data, dependant on the keys passed Cant_unit -> format_rule

configuration

We can also switch between configurations (dynamics) amtrak.json default.json

Readme

Keywords

Package Sidebar

Install

npm i rift-translations

Weekly Downloads

3

Version

1.0.12

License

ISC

Unpacked Size

72.7 kB

Total Files

32

Last publish

Collaborators

  • dpf-dev