How to make a large xhtml file localizable?

Axel Hecht axel at
Tue Sep 10 15:18:04 UTC 2013

You should stick to DTDs for block-level elements, and inline elements 
should be inline.

Also, separate code from style, i.e., don't embed onclick or URLs, but 
add them in an onload step.


On 9/10/13 5:08 PM, Paul Rouget wrote:
> We want to introduce a "first run" screen in the App Manager [1].
> This screen will be some sort of wizard. It will help the user connect his
> phone or install the simulator. This screen will be a xhtml page.
> This screen will include many long strings with links in it. For example:
> ```
> <p>We will try to connect your phone. Please follow the <a href="http://...">instructions on MDN</a>,
> and when you're ready and your phone is connected (USB), <button onclick="...">test your
> connection</button>.
> ```
> I could use DTD, but I don't see how I can nest strings.
> Any idea what would the best thing to do here?
> [1]:
> -- Paul
> _______________________________________________
> firefox-dev mailing list
> firefox-dev at

More information about the firefox-dev mailing list