How to make a large xhtml file localizable?

Ehsan Akhgari ehsan.akhgari at gmail.com
Tue Sep 10 19:54:16 UTC 2013


Note that in order for DTDs to work, you should create an XHTML file, as
they are handled by the XML parser.

Cheers,
Ehsan
On 2013-09-10 5:18 PM, "Axel Hecht" <axel at mozilla.com> wrote:

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


More information about the firefox-dev mailing list