Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix extraction of locale from translation files
The `LocaleExtractor` recognizes these kind of files: - `<locale>.yaml` - `<locale>_something.yaml` It does not recognize these files we use: - `js-<locale>.yaml` (locale is extracted as `js-<locale>`) - `<locale>.seeders.yaml` (locale is extracted as `<locale>.seeders`) It's fixed by deleting the `js-` prefix and the `.seeders` suffix from the extracted locale.
- Loading branch information