OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook-apps] Multilanguage DocBook documents - best practices needed

Hi Dave,

On Mon, 23 Jul 2012 09:29:49 +0100
DaveP <davep@dpawson.co.uk> wrote:

> [...]
> I too thought it should be possible to have more than one language in
> a single file.

Well, you *could* use the lang attribute and carefully assemble your
structure if you want to add different translations:

  <section id="foo">
        <phrase lang="en">Making Tea</phrase>
        <phrase lang="de">Tee kochen</phrase>
        <!-- ... -->
      <para lang="en">...</para>
      <para lang="de">...</para>

With profiling you can select just the language you are interested in.
Well, theoretically. 

However, I don't think you should use more than one language in the
same file. It's neither really practical nor convenient. You end up
with lots of of paras and phrases. And you loose context and it is
really hard to edit such a file.

Apart from these structural thoughts, there is one issue that isn't
mentioned in this thread: version control. If you work with version
control systems (VCS, which you should), a writer and translator cannot
modify a single file at the same time. Although a modern VCS should
detect any modifications and merge them automatically, there is always
the danger that you *could* potentially create conflicts. 
Think you need to remove a whole section because it's not relevant
anymore. Or you need to restructure your file. These actions will very
likely create conflicts for your poor translator.

All in all, I would be _very_ reluctant to create _all_ translations in
_one_ file. That's the reason why there are translation memory systems
as mentioned before.

    Thomas Schraitle

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]