Edgewall Software

Opened 14 years ago

Last modified 7 years ago

#378 new defect

More robust i18n filter in presence of ill-formed messages

Reported by: cboos Owned by: palgarvio
Priority: major Milestone: 0.9
Component: Internationalization Version: 0.5.1
Keywords: translate parse_msg Cc: felix.schwarz@…, floguy@…

Description

Lacking any good possibility to check the catalogs for well-formedness of complex messages obtained from the i18n:msg directives, the translate should be more robust and shouldn't produce an error.

Having an untranslated message is less inconvenient than a page showing an internal error... (see #T9171 for example).

Well, maybe there could be a debug mode in which those errors could be reported, maybe even a way to pass a logger or something, but at least we should not raise an exception here.

Change History (4)

comment:1 Changed 14 years ago by cboos

... or rather, check during catalog compilation that all groups are present.

I don't know if Genshi is able to do something during the compilation step in Babel, but that would be quite useful.

comment:2 Changed 14 years ago by Felix Schwarz <felix.schwarz@…>

  • Cc felix.schwarz@… added

comment:3 Changed 14 years ago by floguy@…

  • Cc floguy@… added

comment:4 Changed 7 years ago by hodgestar

  • Milestone changed from 0.7 to 0.9

Moved to milestone 0.9.

Note: See TracTickets for help on using tickets.