RE: Translations on Web Content Template

Olaf Kock, modified 1 Year ago. New Member Posts: 2 Join Date: 11/24/23 Recent Posts

I've noticed that the web content template translations doesn't work. Isn't the template code also supposed to follow translations as well like the title?


 

thumbnail
Olaf Kock, modified 1 Year ago. Liferay Legend Posts: 6441 Join Date: 9/23/08 Recent Posts

I'm reading that UI as "the title is localized, but the template itself is not"

I'd expect it to be rather unusual if a template came with (hardcoded) text that's not derived from the article that it's processing.

Olaf Kock, modified 1 Year ago. New Member Posts: 2 Join Date: 11/24/23 Recent Posts

I'm reading that UI as "the title is localized, but the template itself is not"

Yes, correct. Some of the items are static that doesn't come with the article itself like buttons or language specific images. This was removed from the structure as the end user doesn't want to repeat these kind of actions.

Currently, we check the language inside the template and show the components based on it. Was wondering if this was a bug or not.