Compile Translation Files into AST Format
Description
Environment
None
Potential Workaround
None
relates to
Checklist
hideTestRail: Results
Activity
Show:
Done
Details
Details
Assignee

Reporter
Labels
Priority
Story Points
1
Sprint
None
Development Team
Thunderjet
Fix versions
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created April 9, 2021 at 4:32 PM
Updated May 27, 2021 at 10:30 AM
Resolved May 27, 2021 at 10:30 AM
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.