How to make a large xhtml file localizable?

Felipe G felipc at gmail.com
Tue Sep 10 16:51:33 UTC 2013


fwiw, DTD strings can be nested.  I never knew if this was a bug or a
feature, but it works :)


On Tue, Sep 10, 2013 at 12:42 PM, Paul Rouget <paul at mozilla.com> wrote:

> 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
> >
> _______________________________________________
> firefox-dev mailing list
> firefox-dev at mozilla.org
> https://mail.mozilla.org/listinfo/firefox-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/firefox-dev/attachments/20130910/a10cba6c/attachment.html>


More information about the firefox-dev mailing list