I have a website that is kind of a social network, that has content generated by webmaster such as articles and questions, and content generared by people (questions).
My website uses 2 languages, Arabic and French, and it target all people speaking these languages around the world.
For handling website language we use sub directories. The URLs of page articles are:
example.com/ar/articles, the articles are filtered based on the language chosen by the user. The content on that page will always be in the language chosen, but for page questions even if you chose a language, the page will be rendered in that language. I mean the menu and the footer, these fixed parts of the template, the content however can be in any language because the page fetches questions asked by users alongside with the webmaster questions that are filtered to match the selected language.
I read that on the same page there should be one language, but it can't be in the case of a page that displays user generated content, how should I handle this?
In addition, am afraid I will end up with duplicate content in case of a page that displays user generated content in two languages (
example.com/ar/articles) the content will be same with small changes which are the translated menu, header and footer and some filtered webmaster questions if existed.
Am I running that risk? And what is the best SEO strategy to adapt in my case?