[
https://issues.apache.org/jira/browse/DERBY-3375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12569912#action_12569912
]
Rick Hillegas commented on DERBY-3375:
--------------------------------------
I took a quick look at the xml grammars which Andrew mentioned. The first one,
TMX, looks like it's rich enough to handle what we need here--but it may be
overkill for what we're doing. The second grammar, XLIFF, doesn't seem rich
enough, at least not at first glance: its translation units seem to support
only one target translation of the source text rather than the 14 or so targets
which we need. I think it should be easy to generate these other formats from
our xml grammar if we have to.
One detail to keep in mind: The proposed grammar treats all of the
localizations as equal citizens. However, in Derby, English plays the special
role of being the default language, that is, the text you get if the community
hasn't gotten around to localizing an error message for your language. As a
sanity check, the MessageBuilder should make sure that an English variant is
available for every message. Alternatively, the grammer could be tweaked so
that the xml parser could sanity check the file for us--that is, the English
text could live in a special, required element.
> Localize new error messages added in 10.3
> -----------------------------------------
>
> Key: DERBY-3375
> URL: https://issues.apache.org/jira/browse/DERBY-3375
> Project: Derby
> Issue Type: Improvement
> Components: Localization
> Affects Versions: 10.3.2.1
> Reporter: Dyre Tjeldvoll
> Priority: Minor
> Fix For: 10.4.0.0
>
> Attachments: CheckMessages.java, checkMessages.sql, derby-3375.diff,
> drda_messages.zip, engine_messages.zip
>
>
> New error messages added in 10.3 have not been localized. Should translate
> these into as many languages as possible.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.