HTML web pages support multiple languages_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:15:58
Original
1546 people have browsed it

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.

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template