Skip to content

Mark Primary Strings and Update Extraction Script #1778

@ErikSin

Description

@ErikSin

To Note

  • This step will cause all the primary strings to be untranslated as the Id is changing. This is ok, as we will be migrating at a later step
  • This might break e2e tests as some things might not translate properly. If there are not many tests, try to comment them out in e2e so CI passes. If there are lots of tests broken, let them fail in CI and we will just force merge it (as eventually they will get fixed)
  • This has to be done after Prep Crowdin Projects #1777

To do

  • Go through source strings and mark the primary strings using this PR. ADD TO ID $1
  • Update extraction script to compile the messages in a new folder called "en-us" in the messages folder. The extraction script should write all the strings marked as primary string into a primary.json file in the en-us folder. The extraction script should also write all the rest of the strings in a secondary.json file in the en-us folder.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions