@properly/localization

1.0.1 • Public • Published

Properly Localization package

See root monorepo for setup instructions

This is where all common localization text between properly web application live

We will need to implement a library to lazy load required strings in the future

Integration with OneSky

OneSky OneSky Web Project

To download the latest strings from OneSky we have a node script.

This will download all the languages from OneSky and override them. Note it will merge any new strings that have been added to en.yml which will need to be uploaded separately once they are ready. Any existing strings that have been updated in en.yml will be wiped. If you have already recently run a download and are happy to OVERRIDE the OneSky translations copys then we can force the upload.

  • Download npm run download-languages
  • Upload (new strings) npm run download-languages -- -upload
  • Force Upload (edited strings) npm run download-languages -- -upload -force

Follow this process when uploading:

  1. Run the upload command ensuring its success
  2. Stash your changes
  3. Run the download command until you see your reflected changes (it is not real time)
  4. Commit the changes when the download command is successful

Readme

Keywords

none

Package Sidebar

Install

npm i @properly/localization

Weekly Downloads

2

Version

1.0.1

License

ISC

Unpacked Size

799 kB

Total Files

20

Last publish

Collaborators

  • nihal9ns
  • jdarwin