RocketChat / feature-requests

This repository is used to track Rocket.Chat feature requests and discussions. Click here to open a new feature request.
21 stars 9 forks source link

make content of Homepage language dependent (multilingual content) #579

Open Moosbee opened 2 years ago

Moosbee commented 2 years ago

The content which can be edited under "Admin --> Settings --> Layout --> Content" is global and cannot be changed dependent on the users language. In case you want to Internationalization, Homepages with only one language become a problem.

Describe the solution you'd like A possible solution would be to allow the language to be selected at the top of the "Content" tab. The text fields will then only apply to the selected language. Or you can select the language per text field, as shown in the Processwire screenshot below.

Another option would be to use the key-value pairing system already in use, described [here] (https://developer.rocket.chat/rocket.chat/contribute-to-rocket.chat/internationalization). In this case, you would have an area at the end of the tab where you can specify the key-value pairs for each language.

Additional context Example how Processwire did it grafik

krenuser commented 2 years ago

We've solved this by "home page content": <iframe style="width: 100%; height: 100%; border: 1px solid #fff;" src="https://chat.domain.org/chat_home"></iframe> It's a separate page where we've placed multilingual home with tabs.

ankar84 commented 2 years ago

Nice idea!