Edgewall Software

Opened 8 years ago

Last modified 18 months 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@…


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.

Attachments (0)

Change History (4)

comment:1 Changed 8 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 8 years ago by Felix Schwarz <felix.schwarz@…>

  • Cc felix.schwarz@… added

comment:3 Changed 8 years ago by floguy@…

  • Cc floguy@… added

comment:4 Changed 18 months ago by hodgestar

  • Milestone changed from 0.7 to 0.9

Moved to milestone 0.9.

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
as new The owner will remain palgarvio.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from palgarvio to the specified user. Next status will be 'new'.
The owner will be changed from palgarvio to anonymous. Next status will be 'assigned'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.