Hi Dave, On Mon, 23 Jul 2012 09:29:49 +0100 DaveP <da...@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"> <title> <phrase lang="en">Making Tea</phrase> <phrase lang="de">Tee kochen</phrase> <!-- ... --> </title> <para lang="en">...</para> <para lang="de">...</para> </section> 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. -- Gruß/Regards, Thomas Schraitle --------------------------------------------------------------------- To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org