Skip to content

Consider automated checking of localization.ts #535

@johnbanq

Description

@johnbanq

Manually checking localization.ts is very painful!

So I whipped out this hacky script that automatically checks it: https://github.com/johnbanq/supersplat-i18n-check.

It automatically finds:

  • untranslated keys
  • unused keys
  • undefined keys

by analyzing all localize() call sites in the codebase.

Putting this here just for the record. We can add it to CI if we are OK with this (quite complicated) approach.

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