Home > Back-end >  How to change the text from English to any other language in play.html page?
How to change the text from English to any other language in play.html page?

Time:03-10

I would like to replace "Your stream will start playing automatically when it is live" text to some other language but when I do that I get text like below

ストリームã¯ãƒ©ã‚¤ãƒ–

CodePudding user response:

I'll recommend you to check the package "i18n" that allows you to change languages based on json files and simple js.

i18n: https://www.npmjs.com/package/i18n

CodePudding user response:

Thank you for the question.

You should enable UTF-8 encoding on the html page for this.

Please add below lines on top of play.html page

<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>

Save the changes.

Then you can change the text to other language.

Thank you

antmedia.io

  • Related