How to internationalize traditional html pages? (implemented in one page)

traditional html pages cannot be internationalized through simple configuration, as i18n is used in vue

all I can think of is to write a Chinese html page and an English html page, and read the corresponding page according to the parameters

.

but I don"t think this is a good idea. If you want to write it in a html page, you"d better have {{}} as in vue

.

i18n can also be introduced directly. It is not necessary to use template engine


if so, I think we can consider using art-template , which should be feasible

.
Menu