Re: xml2po



> It should work fine for XHTML, except for two things:
> 1. attribute values are not translatable (eg. <img> alt or title
>    attributes might need translation).  This has been sitting on my TODO
>    list for a while already, and it shouldn't be too hard to implement
>    (actually, it should be pretty straight-forward :), but we simply
>    didn't have enough need for it so far.

That is not terribly important.

> 2. <pre> is not going to be treated as space-preserving, i.e. spaces
>    are going to be collapsed: this is easily fixed by creating
>    separate "xhtml" mode which would return all "space-preserving"
>    tags.  Implementing 2 is even simpler than 1, and instead of "-a",
>    you'd use "-m xhtml" then. :)
> 

Don't have any of those.

> Just be sure to pass on "-a" when merging back as well.
>

I will try this out tomorrow.

Corey



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]