Compile Translation Files into AST Format

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:

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

Details

Assignee

Reporter

Labels

Priority

Development Team

Prokopovych

Fix versions

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
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