[Zope3-dev] Re: i18n domains vs. unique message ids -OR- whyShakespearean English was better

Shane Hathaway shane at zope.com
Wed Aug 20 09:49:51 EDT 2003


On Wed, 20 Aug 2003, Martijn Faassen wrote:
> Note that an XML design pattern is to avoid putting human-readable text
> in attributes. That is, text that passes along to some user interface or
> readable document format or whatnot would need to be element content:
> 
> <browser:editform name="edit">
>    <schema src="some.schema"/>
>    <label msgid="my-form-msg-id">Default form label</label>
>     <menu id="menu_id" msgid="my-menu-msg-id">Default menu title</menu>
> </browser:editform>

Excellent point.  I agree completely.

Shane



More information about the Zope3-dev mailing list