Done
Details
Assignee
Ryan BergerRyan BergerReporter
Ryan BergerRyan BergerPriority
P3Sprint
NoneDevelopment Team
Stripes ForceTestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee
Ryan Berger
Ryan BergerReporter
Ryan Berger
Ryan BergerPriority
Sprint
None
Development Team
Stripes Force
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created April 12, 2021 at 6:54 PM
Updated July 30, 2021 at 5:58 PM
Resolved July 30, 2021 at 5:58 PM
Ensure that the app template has translation compilation support so that new apps will automatically compile translations without additional work needed by teams.
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 run {formatjs-compile}} underrunScripts
section:See https://github.com/folio-org/stripes/blob/master/doc/dev-guide.md#pre-compiling-translations-into-ast-format for reference.