This script is largely based on the Fluent Linter used in mozilla-central for Firefox localization.
It allows to check reference FTL files for common issues:
- Identifiers too short
- Invalid characters available used in identifiers
- Use of incorrect characters (e.g.
'
instead of’
)
It also allows to limit the range of features supported, for example disabling attributes or variants.