[Zope-dev] Zope Exceptions and translation
seb bacon
seb@jamkit.com
Mon, 3 Dec 2001 16:08:35 +0000
You're certainly right, but it would be a big job. In fact I recently
started a proposal on the subject (bare bones). Please add to it!
Especially the requirement for i18n.
http://dev.zope.org/Wikis/DevSite/Proposals/ClassBasedExceptions
seb
* Andre Schubert <andre.schubert@geyer.kabeljournal.de> [011203 15:10]:
> Hi all,
>
> I'am looking for several products to translate zope-site into german.
> I have found ZBabel and it works very fine for normal websites.
> It always works fine in the standard_error_message if there is an
> error_value and an error_type.
> But it doesnt work if i get an string exception, because the error_value
> is an complete html-site.
> Therefore i tryed to patch some Exceptions in HTTPResponse to raise an
> class-Exception and a short string
> as error_value.
> The problem i see is that all exceptions in zope are raised in many
> defferent places and thats very difficult
> to patch them or to make them translation-able.
> I think it is a good way to change all string-exceptions like these in
> HTTPResponse to class-exceptions and the error_value
> to a normal description. With these changes the standard_error_message
> could be raised and there is an ability to
> translate the error_value.
> Do i think in the right way or did i missing any facts
>
> thanks as
>
> _______________________________________________
> Zope-Dev maillist - Zope-Dev@zope.org
> http://lists.zope.org/mailman/listinfo/zope-dev
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope )
--
[] j a m k i t
seb bacon
T: 020 7749 7218
F: 020 7739 8683
M: 07968 301 336
W: www.jamkit.com