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) ?
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.
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?
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"?
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.
Profiling feature work well with all attributes (like 'importance' or 'audience') but with xml:lang... not 😞
Perhaps this is one for PTC Support then, as profiling is the feature you have to use to configure your document content for publishing. I'd be interested to learn why xml:lang in particular is disallowed for profiling.