How to make a large xhtml file localizable?

Paul Rouget paul at mozilla.com
Tue Sep 10 15:42:07 UTC 2013


Understood.

----- Original Message -----
> 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.
> 
> Axel
> 
> 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]:
> > https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Using_the_App_Manager
> >
> > -- Paul
> > _______________________________________________
> > firefox-dev mailing list
> > firefox-dev at mozilla.org
> > https://mail.mozilla.org/listinfo/firefox-dev
> 
> _______________________________________________
> firefox-dev mailing list
> firefox-dev at mozilla.org
> https://mail.mozilla.org/listinfo/firefox-dev
> 



More information about the firefox-dev mailing list