Page 1 of 1

Different content in different languages

Posted: Tue Oct 20, 2020 7:22 am
by pviscogl
Hi,
I am working on a project where I have to translate to 2 other languages. The project contains approx 20 targets already for the source language. Ideally, I would not duplicate the targets for what I am trying to do because I have very complex condition expressions for each target so that would add to the complexity.
In a couple of topics, I have some content that is specific to each language. Actually, it is for different Country. For example, I have a paragraphe in French dedicated to Québec (Canada), but when I publish the same content for the rest of Canada (in English), I need another paragraph. Any idea how I could do this?

In another instance, I have a table with 4 rows (it could be a bullet list if its easier) where the 4 rows need to be in a specific order (not alphabetical). In another language, the 4 rows need to be in another order. I was thinking of duplicating the table for each language and display the appropriate one... but how?
Thank you,
Pascal

Re: Different content in different languages

Posted: Mon Oct 26, 2020 10:12 am
by pviscogl
Hi, I found something that works well for HTML output:
*[xml\:lang |= "en"]
{
color: red;
}

But so far, no luck with PDF outputs. Anyone has an idea?

Re: Different content in different languages

Posted: Mon Oct 26, 2020 11:04 am
by ChoccieMuffin
Just thinking aloud here, to see if anyone "in the know" can pipe up.

Is this situation something where media queries might work?