Description
Describe the bug
If you have multilngual set it makes sense that the whole page should get translated. However there are cases where you want to have some pages in other languages but not have a full multilingual site. Putting other character sets will work but if the language is RTL then it will be wrong.
To Reproduce
Steps to reproduce the behavior:
- Go to control panel and add arabic as possible language
- Go to a page and edit
- Go to page catagorisation and set language to arabic
- add some arabic text
- save
- Notice the arabic text goes the wrong direction
Expected behavior
In the case where its a single page in another language and not a full translated multilingual site (ie p.a.multilingual installed).
I would expect
- the header and footer to be set to the default site language. since these are unlikely to be translated
- the content area to be set to the page language and a dir attribute set to the direction of that language
- The title set to default language since you would expect this to appear untranslated in listings and navigation etc
An alternative might be to give the ability of sections of blocks to be set to another language. I'm not sure thats the right way to go as I'm not sure how common it is to mix different languages on one page? Or maybe a container block to set a language in a specific context?
Screenshots
N/A
Software (please complete the following information):
tested with demo.plone.org on 2025-03-20
Additional context
This is the code for the lang attribute is set but not sure yet why its not changing the language.
But I do think a more full solution is needed for the case where its not a full multilingual site.
I couldn't find any code that sets the text direction so I think this is completely missing for p.a.multilingual sites.