We should also keep in mind that such logs aimed at users should support
i18n - unlike the existing dumps for compiler developers, which are quite
properly English only, and most calls to internal_error which should only
appear if there is a compiler bug and are also only meant to be useful for
compiler developers (so represent useless work for translators at present
- though it does seem possible some internal_error calls could actually
appear with invalid input rather than compiler bugs and so should be
normal errors).

We should first support i18n of C++ error messages, which is totally broken for languages that have more than one case or more than one article form (e.g. singular and plural of "the").

Paolo

Reply via email to