In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Editor to share with you how to modify the English version of dedecms 5.1 utf-8, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!
How to modify dedecms 5.1utf-8 version in English?
The main parts of this revision are:
1. The English culture of turning the pages of the article
two。 Generate the article address and remove the article data ID
3. The prompt window for changing DEDECMS is changed to English.
4. Change the turn prompt to English
5. The search shows the prompt in English.
6. Meta settings for the page
1. The English Culture of turning the pages
Include/inc_archives_view.php include/inc_arclist_view.php include/inc_arcsearch_view.php
The next revision is mainly aimed at the content of the article list page to search the English culture of the translation of the page.
Open the above three files with notepad in turn.
Let's open include/inc_archives_view.php first.
Find it in turn
/ / get the previous article, next link / / get the dynamic page paging list / / get the static page paging list
In these three places, change the Chinese that appears below these three places into English.
Open include/inc_arclist_view.php
Find it in turn
/ / get static paging list
/ / get dynamic paging list
In these two places, change the Chinese that appears below these two places into English.
Open include/inc_arcsearch_view.php
Find it in turn
/ / get dynamic paging list
In this place, change the Chinese that appears below this place into English.
two。 Generate the article address and remove the article number ID
Open include/inc_channel_unit_function.php with notepad
find
$articleRule = str_replace ("{pinyin}", GetPinyin ($title). "_". $aid,$articleRule)
Change to
$articleRule = str_replace ("{pinyin}", GetPinyin ($title), $articleRule)
To put it simply, get rid of. "_". $aid
Then in the background, in the advanced options of the column,
Article naming rules: {typedir} / {pinyin} .html
3. The prompt window for changing DEDECMS is changed to English.
This must be edited with Dreamweaver, not notepad, or there will be a blank in the background!
Open include/inc_functions.php with Dreamweaver
Find ShowMsg and read on. Find the following sequence:
DedeCms system prompt
DedeCms prompt message:
If your browser doesn't respond, please click here.
Correspondingly modified to
DedeCms Message DedeCms Message: If your browser is no response, please click here...
4. Change the turn prompt to English
Open include/jump.html with notepad
Find the following sequence:
Turning: just a moment, please.
Content summary:
TO:
Correspondingly modified to
TO:
Are turning to: Please wait... Brief Introduction:
5. The search shows the prompt in English.
Open plus/search.php with notepad
Find the following sequence:
The server is busy, please search later
Your keyword input is illegal!
There is illegal content in your message, which is prohibited by the system! [return]
Keyword length must be between 3-30 bytes!
Correspondingly modified to
Server is busy,please search later You do not legally enter the keywords! Your information in the illegal content,the system was prohibited! [Back] Keyword length must be between 3-30 bytes!
6. Mate settings for the page
This is mainly to do the template when careful not to drop the meta, so that the MATE information of each page is different.
The meta of the home page and the list page can be set in the background. On the other hand, the MATE of the content page is automatically intercepted according to the content.
Home page meta
List page meta
Content page meta
These are all the contents of the English revision of dedecms 5.1utf-8. Thank you for your reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.