Skip to main content
1-Visitor
April 5, 2016
Question

Many languages in one topic, just one needed in pdf.

  • April 5, 2016
  • 2 replies
  • 2769 views

Hi, I have many paragraphs in differents languages in a same topic.

Each paragraph have xml:lang attribute like : <p xml:lang='en'>Hello World</p><p xml:lang='de'>Halo Gerrit, get's?</p><p xml:lang='fr'>Salut à tous.</p>

I want to publish this topic in pdf one time only in english and/or one time only in german and/or one time only in french.

How can I do that, just with Styler and Windows (no SIM, no PE or anything else) ? 

Thanks.

Hugues

2 replies

16-Pearl
April 6, 2016

You should explore the Arbortext feature called "profiling". If you want to produce a PDF you will also need to have a print capable license, such as Arbortext Styler, Publishing Engine or Print Composer.

hfrancois1-VisitorAuthor
1-Visitor
April 7, 2016

Thanks Gareth,

i have read profiling feature and i don't find topic about "language". Just about profil.

How can i control publishing by testing the xml:lang attribute value?

...

16-Pearl
April 12, 2016

The profiling feature allows you to filter published content according to a specified "profile". So for example you can identify attributes and values that are to be used for filtering. For languages, this could work that you set a profiling value of "en", and all elements with xml:lang not "en" will be removed before publishing. This approach would allow you to produce an single-language PDF from content that is authored in multiple language variants.

12-Amethyst
April 11, 2016

Have you reviewed Arbortext Styler's translation features for gentext material? See Arbortext Editor's Help Center topic "Generated Text Overview", "Maintaining Translations of Generated Text" and "Managing Translation Units"?