jump to navigation

Abusing File Formats Considered Harmful 9.03.2007

Posted by marcoos in in english, l10n, mozilla, remora.
trackback

This is how Remora’s PO file looks like when opened in POEdit:

Remora (addons.mozilla.org) PO file in POEdit

Red usually means that a string is broken and has an error - but in this case it does not, this is the file with the original strings. But since the “original” string is just a key name, POEdit thinks that all the “%s” etc. are errors, as they don’t appear in the “original”…

And the status bar in that screenshot states: “329 strings,  0 fuzzy, 60 broken,  0 untranslated”. In fact, none are broken and there are 329 untranslated.

There’s nothing wrong in using a key-value paradigm. But when you’re using it in a format that was not designed with this in mind, you just break things.

Komentarze»

1. Leonardo Fontenelle » Blog Archive » Uso inusitado para arquivos PO - 6.05.2007

[...] Parece que o Remora utiliza catálogos de mensagem gettext para armazenar suas configurações! [...]