Re: [docbook-apps] Preserving entities and language translation

2016-01-21 Thread Fekete , Róbert
On Thu, Jan 21, 2016 at 12:25 AM, Warren Block wrote: > On Wed, 20 Jan 2016, Fekete, Róbert wrote: > > where we need to translate docbook content, we use separate branches or >> subdirectories for the different language versions, and our build system >> takes care of finding

Re: [docbook-apps] Preserving entities and language translation

2016-01-20 Thread Warren Block
On Wed, 20 Jan 2016, Fekete, Róbert wrote: where we need to translate docbook content, we use separate branches or subdirectories for the different language versions, and our build system takes care of finding the right content. How do you deal with literal content that should be identical

Re: [docbook-apps] Preserving entities and language translation

2016-01-19 Thread Warren Block
On Tue, 19 Jan 2016, Shaun McCance wrote: I'm not sure if you've successfully made the switch to itstool yet for your PO round-tripping. I think we talked a bit about entity expansion at the Open Help Conference last year. Yes, we have:

Re: [docbook-apps] Preserving entities and language translation

2016-01-19 Thread Fekete , Róbert
Hi, where we need to translate docbook content, we use separate branches or subdirectories for the different language versions, and our build system takes care of finding the right content. HTH, Robert On Tue, Jan 19, 2016 at 11:18 PM, Warren Block wrote: > On Tue, 19 Jan

Re: [docbook-apps] Preserving entities and language translation

2016-01-19 Thread Warren Block
On Mon, 18 Jan 2016, Richard Hamilton wrote: Hi Warren, I'm not sure if I can come up with a standard, or truly elegant way of doing this, but here are a few possibilities: 1) If the only entities in your files are the ones that shouldn't be translated, just don't have xmllint resolve the

Re: [docbook-apps] Preserving entities and language translation

2016-01-19 Thread Shaun McCance
Hi Warren, I'm not sure if you've successfully made the switch to itstool yet for your PO round-tripping. I think we talked a bit about entity expansion at the Open Help Conference last year. The default behavior in itstool is that it expands entities, but does not do XInclude. So I recommend

[docbook-apps] Preserving entities and language translation

2016-01-18 Thread Warren Block
Some of the articles in the FreeBSD documentation use entities to include large blocks of data. For example, one article is just a very large list of PGP keys for developers: https://www.freebsd.org/doc/en_US.ISO8859-1/articles/pgpkeys/index.html The DocBook article.xml is only 2K, because

Re: [docbook-apps] Preserving entities and language translation

2016-01-18 Thread Richard Hamilton
Hi Warren, I'm not sure if I can come up with a standard, or truly elegant way of doing this, but here are a few possibilities: 1) If the only entities in your files are the ones that shouldn't be translated, just don't have xmllint resolve the entities when you normalize the file, then use