Compile Translation Files into AST Format (ui-finc-config)

Description

Overview:
Steps to Implement (See ui-plugin-find-user PR for example):

  • Add @formatjs/cli as a dev-dep

  • Add 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 under runScripts section:

See https://github.com/folio-org/stripes/blob/master/doc/dev-guide.md#pre-compiling-translations-into-ast-format for reference.

Environment

None

Potential Workaround

None

Checklist

hide

TestRail: Results

Activity

Show:
Done

Details

Assignee

Reporter

Priority

Sprint

Development Team

Leipzig

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created June 3, 2021 at 9:02 AM
Updated June 10, 2021 at 12:19 PM
Resolved June 10, 2021 at 12:19 PM
TestRail: Cases
TestRail: Runs