How to add multiple languages to dedecms: 1. Enter the dedecms background and create a cover column; 2. Set the file saving directory of the cover column "General Options" to cn or en; 3. Change the cover column "Advanced Options" "The list template is set to "cn_index.htm" or "en_index.htm"; 4. Just call the cover column of each language and the navigation column of each language separately.
The operating environment of this tutorial: Windows 10 system, DedeCMS version 5.7, Dell G3 computer.
How to add multiple languages to dedecms?
How to use the dedecms program to build a Chinese and English website. Below is a detailed graphic tutorial. I hope it can help everyone.
The following is a website in 5 languages produced using the dedecms program. Let’s start the tutorial.
1. First create a column in the background. There are three points to note
1. If you need to do several languages, add a few large columns. I call this column The cover column contains navigation columns in its own language
2. The file saving directory of the cover column "General Options" is set to cn or en
3. The list of the cover column "Advanced Options" The template is set to cn_index.htm or en_index.htm
2. Calling the website code
for each language The cover column and the navigation column in each language are called separately. Use {dede:type typeid='*'} to call them separately. Please see the picture
3. The rest is to build columns in each language separately
It is recommended to use prefixes such as cn_, en_, jp_, etc. to distinguish template files. One language is a website. Make a language template, then copy and change the text and images.
#The same is true for doing multiple languages, and so on.
Recommended learning: dedecms tutorial
The above is the detailed content of How to add multiple languages to dedecms. For more information, please follow other related articles on the PHP Chinese website!