Compile Translation Files into AST Format
Description
Environment
None
Potential Workaround
None
relates to
Checklist
hideTestRail: Results
Activity
Show:
Zak Burke March 17, 2023 at 2:55 PM
It was a valid story but was implemented by in PR #119 in October 2021. I'll close it as "Done".

Khalilah Gambrell March 16, 2023 at 11:31 PM
Hey - is this still a valid story?
Done
Created April 9, 2021 at 4:32 PM
Updated March 17, 2023 at 2:55 PM
Resolved March 17, 2023 at 2:55 PM
TestRail: Cases
TestRail: Runs
Overview:
Steps to Implement (See ui-plugin-find-user PR for example):
Add
@formatjs/cli
as a dev-depAdd the following command to package.json with (replacing <ui-module-name> with your module name):
Run the command
If there are any errors, contact to let him know of the error and he will work with Lokalise to get the files corrected. After Lokalise corrects files, update your branch from master.
Modify
Jenkinsfile
to runformatjs-compile
underrunScripts
section:See https://github.com/folio-org/stripes/blob/master/doc/dev-guide.md#pre-compiling-translations-into-ast-format for reference.