Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to handle duplicates in development mode? #282

Open
dasbego opened this issue Mar 13, 2024 · 0 comments
Open

How to handle duplicates in development mode? #282

dasbego opened this issue Mar 13, 2024 · 0 comments

Comments

@dasbego
Copy link

dasbego commented Mar 13, 2024

Hi, I've come to an issue where I get a message in console saying that my translations file could not be loaded.
The error stack is not very informative but after doing more troubleshooting I get to see an error message saying that I have duplicates in my *.po file.
I went to check the validation here and I can see that this is only skipped on production, so I don't have my translations working in dev mode.

I wonder how I should handle this error, the translations in POEditor has common access to various members within the organization, most of them don't know that adding a certain wildcard/template duplicate could lead to translation loss. This has happened over the last few ayears and I don't plan to go over thousands of translations only to remove duplicates and get it working in my local.

Note: I consume *.po.json files at runtime.

How can I get around this issue?

@dasbego dasbego changed the title Handling duplicates in development mode How to handling duplicates in development mode? Mar 13, 2024
@dasbego dasbego changed the title How to handling duplicates in development mode? How to handle duplicates in development mode? Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant