Skip to content

Add scripts to build localization on local machine#2701

Merged
skapur12 merged 14 commits intomainfrom
feature/support-local-loc-builds
Apr 11, 2023
Merged

Add scripts to build localization on local machine#2701
skapur12 merged 14 commits intomainfrom
feature/support-local-loc-builds

Conversation

@skapur12
Copy link
Member

  • Add npm loc:restore, loc:build, and loc:clean scripts to run OneLocBuild on local machine to install dependencies, build the translations, and correctly rename and move the translated files to their correct spot.
  • Add logic to convert RESJSON into JSON files when localization is built and run locally (so we can use the JSON files instead for local development)
  • Remove unnecessary destJSON parameter in build-translations script
  • Update package.json files in package directories to reflect changes to build-translations script
  • Add new README doc with instructions on how to set up localization on local machine

@codecov
Copy link

codecov bot commented Mar 31, 2023

Codecov Report

❗ No coverage uploaded for pull request base (main@e3b6cfa). Click here to learn what that means.
The diff coverage is n/a.

❗ Current head ee06af3 differs from pull request most recent head 7c21c65. Consider uploading reports for the commit 7c21c65 to get more accurate results

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #2701   +/-   ##
=======================================
  Coverage        ?   66.24%           
=======================================
  Files           ?     1203           
  Lines           ?    33459           
  Branches        ?     6105           
=======================================
  Hits            ?    22165           
  Misses          ?    11158           
  Partials        ?      136           

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e3b6cfa...7c21c65. Read the comment docs.

@skapur12 skapur12 force-pushed the feature/support-local-loc-builds branch from d3de89f to 5de9dbf Compare March 31, 2023 23:19
@skapur12 skapur12 force-pushed the feature/support-local-loc-builds branch from 5de9dbf to ea1e81c Compare April 2, 2023 20:36
@skapur12 skapur12 marked this pull request as ready for review April 3, 2023 17:10
Copy link
Member

@dpwatrous dpwatrous left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks really good overall - just a few comments

@dpwatrous dpwatrous self-requested a review April 11, 2023 23:24
@skapur12 skapur12 merged commit 635d441 into main Apr 11, 2023
@skapur12 skapur12 deleted the feature/support-local-loc-builds branch April 11, 2023 23:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants