Immersive reader – hide translation options

Gabhán Ó Dochartaigh 1 Reputation point
2021-09-06T16:10:02.81+00:00

We have recently incorporated immersive reader into a news site for primary school children who are educated through the medium of Irish. Irish medium education is immersion education – learners are immersed in the target language. Thus, when a reader is presented with a text in Irish – the translation facility, under the reading preferences, undermines the principles of immersion education, if a child can simply translate the text into English. Is there any way to hide the translation options when initializing the reader? Can we set display='none'?

Azure AI Immersive Reader
Azure AI Immersive Reader
An Azure Applied AI Service that embeds text reading and comprehension capabilities into your applications.
28 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. romungi-MSFT 46,746 Reputation points Microsoft Employee
    2021-09-07T07:28:09.82+00:00

    @Gabhán Ó Dochartaigh I don't think there is an option to hide the translation options in the current settings. Is it possible to hide other translation languages instead? I think you could try to set the following in options to display only Irish and check if it works for you.

                    const options = {  
                        "onExit": exitCallback,  
                        "uiZIndex": 2000,  
                        "translationOptions":  { language: 'ga-IE' }  
                    };  
    

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.