How to add translate to protect content -> pages -> html editor

Discussion in 'Customization & add-ons' started by fslamirullah969, Jun 27, 2021.

  1. fslamirullah969

    fslamirullah969 New Member

    Joined:
    Jun 26, 2020
    Messages:
    2
    Hello, is there any simple way to add a translate option to HTML editor inside pages to protect content?
    I want the page to automatically switch the content language according to the selected language.

    [​IMG]

    What I mean is, I need that feature inside blue circle on the HTML editor so we can also prepare the content for another language. Any suggestion?

    Thanks
  2. fslamirullah969

    fslamirullah969 New Member

    Joined:
    Jun 26, 2020
    Messages:
    2
    For now, I did a bit messy method by adding the "translate" class to the Html editor and then installing an event on the Html editor (CKEditor) so that when the content changes it immediately sends the changed data to the original HTML element of the CKEditor. Then the translate function will appear. if anyone has another way maybe can tell here.

Share This Page