Skip to content

How to handle duplicates in development mode? #282

Description

@dasbego

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions