Page 1 of 1
Toggle Languages in WebHelp Responsive Output
Posted: Sun Apr 21, 2024 4:28 am
by felixliu
Hi, is there any way to add a feature of toggling languages to the webhelp responsive output?
That feature is commonly seen on other document websites, such as the language toggle near the upper right corner on this Google document website (
https://cloud.google.com/docs).
Re: Toggle Languages in WebHelp Responsive Output
Posted: Mon Apr 22, 2024 11:08 am
by Costin
Hi felixliu,
There is no out-of-the-box support for this in the current implementation of WebHelp .
What you could do, would be to generate separate WebHelp output for each language in part, then you could try aggregating the outputs.
As for the language toggle, this may be added through a customization of your own.
On this page you can seen a example of a customization showing how to add custom content after the Search element in WebHelp, which you could use as a starting point to add the toggle. The customization shown in the above mentioned example would add a dummy language toggle, so you would still have to work your own customization to implement the toggle's back-end implementation.
Regards,
Costin
Re: Toggle Languages in WebHelp Responsive Output
Posted: Tue Apr 23, 2024 5:58 am
by felixliu
Costin wrote: ↑Mon Apr 22, 2024 11:08 am
Hi felixliu,
There is no out-of-the-box support for this in the current implementation of WebHelp .
What you could do, would be to generate separate WebHelp output for each language in part, then you could try aggregating the outputs.
As for the language toggle, this may be added through a customization of your own.
On this page you can seen a example of a customization showing how to add custom content after the Search element in WebHelp, which you could use as a starting point to add the toggle. The customization shown in the above mentioned example would add a dummy language toggle, so you would still have to work your own customization to implement the toggle's back-end implementation.
Regards,
Costin
Hi Costin, thanks for your help. I'll look into the example.