Duplicated keys

Topics: Customizing Orchard, Localization, Writing modules
Apr 10, 2013 at 11:14 AM
Edited Apr 10, 2013 at 11:16 AM
Orchard .po files have a lot of duplicate msgids.

The question is, are those entries supposed to be duplicated?

As far as I know, .po files should not contain duplicate msgids unless they're disambiguate with msgctx tags.

Duplicate keys have following disadvantages:
  • breaks compatibility with editors (eg: Poedit)
  • asks to translators to translate the same key many times (with possibly mistakes and unintended duplication)
Apr 11, 2013 at 2:20 AM
They are in different contexts, aren't they?
Apr 12, 2013 at 9:45 AM
I digged more on the problem.
I have posted as question here:
Apr 12, 2013 at 3:06 PM
Edited Apr 12, 2013 at 3:06 PM
And I created an Issue on TranslationManager here:
(patch included)