Playwright - ar.json Missing #1612
Comments
Just to confirm @ramadanomar, did you want to try opening a PR for this? I've assigned the issue to you in the meantime, please let me know if you're not interested and someone else can hop on this. Thanks for reporting it and sorry for the trouble. |
Also: I believe this is not an issue with WSL but any fresh clone of the repository. |
I've lowered the priority for this issue to
The issue occurs when you run The solution of un-ignoring the We could also just run The best solution I could come up with would be to add flags to the i18n locale strings that enable conditional loading of the translations. |
The TypeScript error occurs in the Playwright tests. Can we I agree that copying the testing ar.json or adding the real one to the git history is not an appropriate solution, for the reasons you listed. |
Description
No ar.json found when testing locales for Typescript on WSL
Reproduction
Screenshots
Environment
Additional context
To quote @sarayourfriend
The issue is that the ar.json file needs to be copied from the testing locales for TS to find them, but I think we should just @ts-ignore that line so that pnpm dev doesn't have to worry about tracking changes to the testing configuration.
Resolution
The text was updated successfully, but these errors were encountered: