Home  >  Article  >  Web Front-end  >  HTML web pages support multiple languages_html/css_WEB-ITnose

HTML web pages support multiple languages_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:15:581540browse

Make a web page and want to support multiple languages. Write various languages ​​​​to a file and then read it. After thinking about it, it can be achieved using XML. I would like to ask if any experienced heroes have any other methods? I want to find the most convenient and quick way. If XML is suitable, then I will implement it in XML.


Reply to the discussion (solution)

Please help me. . . . . Come and take a look

Using xml is a bit troublesome and requires various parsing.
Directly create two sets of template pages and call them according to language requirements

Generally stored directly in the database. It can be easily maintained through the background management system. When the user accesses, the synthesized return is called through the background To users. This is more efficient than XML.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn