博客列表 >用js将简体转换为繁体

用js将简体转换为繁体

弘德誉曦的博客
弘德誉曦的博客原创
2020年04月12日 09:44:02135479浏览

//s = simplified 简体中文 t = traditional 繁体中文 n = normal 正常显示  

var zh_default = 'n'; //默认语言,请不要改变  

var zh_choose = 'n'; //当前选择  

var zh_expires = 7; //cookie过期天数  

var zh_class = 'zh_click'; //链接的class名,id为class + s/t/n 之一  

var zh_style_active = 'font-weight:bold; color:green;'; //当前选择的链接式样  

var zh_style_inactive = 'color:blue;'; //非当前选择的链接式样  

var zh_browserLang = ''; //浏览器语言  

var zh_autoLang_t = true; //浏览器语言为繁体时自动进行操作  

var zh_autoLang_s = false; //浏览器语言为简体时自动进行操作  

var zh_autoLang_alert = true; //自动操作后是否显示提示消息  

//自动操作后的提示消息  

var zh_autoLang_msg = '歡迎來到本站,本站爲方便台灣的用戶';

var zh_autoLang_checked = 0; //次检测浏览器次数,第一次写cookie为1,提示后为2,今后将不再提示  

 

//判断浏览器语言的正则,ie为小写,ff为大写  

var zh_langReg_t = /^zh-tw|zh-hk$/i;

var zh_langReg_s = /^zh-cn$/i;

 

//简体繁体对照字表,可以自行替换  

var zh_s = decodeURI("%E7%9A%91%E8%94%BC%E7%A2%8D%E7%88%B1%E7%BF%B1%E8%A2%84%E5%A5%A5%E5%9D%9D%E7%BD%A2%E6%91%86%E8%B4%A5%E9%A2%81%E5%8A%9E%E7%BB%8A%E5%B8%AE%E7%BB%91%E9%95%91%E8%B0%A4%E5%89%A5%E9%A5%B1%E5%AE%9D%E6%8A%A5%E9%B2%8D%E8%BE%88%E8%B4%9D%E9%92%A1%E7%8B%88%E5%A4%87%E6%83%AB%E7%BB%B7%E7%AC%94%E6%AF%95%E6%AF%99%E9%97%AD%E8%BE%B9%E7%BC%96%E8%B4%AC%E5%8F%98%E8%BE%A9%E8%BE%AB%E9%B3%96%E7%98%AA%E6%BF%92%E6%BB%A8%E5%AE%BE%E6%91%88%E9%A5%BC%E6%8B%A8%E9%92%B5%E9%93%82%E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%B7%E5%9F%B7%E7%B4%99%E6%91%AF%E6%93%B2%E5%B9%9F%E8%B3%AA%E9%8D%BE%E7%B5%82%E7%A8%AE%E8%85%AB%E8%A1%86%E8%AC%85%E8%BB%B8%E7%9A%BA%E6%99%9D%E9%A9%9F%E8%B1%AC%E8%AB%B8%E8%AA%85%E7%87%AD%E7%9F%9A%E5%9B%91%E8%B2%AF%E9%91%84%E7%AF%89%E9%A7%90%E5%B0%88%E7%A3%9A%E8%BD%89%E8%B3%BA%E6%A8%81%E8%8E%8A%E8%A3%9D%E5%A6%9D%E5%A3%AF%E7%8B%80%E9%8C%90%E8%B4%85%E5%A2%9C%E7%B6%B4%E8%AB%84%E6%BF%81%E8%8C%B2%E8%B3%87%E6%BC%AC%E8%B9%A4%E7%B6%9C%E7%B8%BD%E7%B8%B1%E9%84%92%E8%A9%9B%E7%B5%84%E9%91%BD%E7%B7%BB%E9%90%98%E9%BA%BC%E7%82%BA%E9%9A%BB%E5%85%87%E6%BA%96%E5%95%9F%E9%97%86%E8%A3%A1%E9%9D%82%E9%A4%98%E9%8D%8A%E6%B4%A9");

String.prototype.tran = function () {

    var s1, s2;

    if (zh_choose == 't') {

        s1 = zh_s;

        s2 = zh_t;

    } else if (zh_choose == 's') {

        s1 = zh_t;

        s2 = zh_s;

    } else {

        return this;

    }

    var a = '';

    var l = this.length;

    for (var i = 0; i < this.length; i++) {

        var c = this.charAt(i);

        var p = s1.indexOf(c)

        a += p < 0 ? c : s2.charAt(p);

    }

    return a;

}

function setCookie(name, value) {

    var argv = setCookie.arguments;

    var argc = setCookie.arguments.length;

    var expires = (argc > 2) ? argv[2] : null;

    if (expires != null) {

        var LargeExpDate = new Date();

        LargeExpDate.setTime(LargeExpDate.getTime() + (expires * 1000 * 3600 * 24));

    }

    document.cookie = name + "=" + escape(value) + ((expires == null) ? "" : ("; expires=" + LargeExpDate.toGMTString()));

}

function getCookie(Name) {

    var search = Name + "="

    if (document.cookie.length > 0) {

        offset = document.cookie.indexOf(search);

        if (offset != -1) {

            offset += search.length;

            end = document.cookie.indexOf(";", offset);

            if (end == -1) end = document.cookie.length;

            return unescape(document.cookie.substring(offset, end));

        } else {

            return '';

        }

    }

}

function zh_tranBody(obj) {

    var o = (typeof (obj) == "object") ? obj.childNodes : document.childNodes;

    //var o = (typeof (obj) == "object") ? obj.childNodes : document.body.childNodes;

    for (var i = 0; i < o.length; i++) {

        var c = o.item(i);

        if ('||BR|HR|TEXTAREA|SCRIPT|'.indexOf("|" + c.tagName + "|") > 0) continue;

        if (c.className == zh_class) {

            if (c.id == zh_class + '_' + zh_choose) {

                c.setAttribute('style', zh_style_active);

                c.style.cssText = zh_style_active;

            } else {

                c.setAttribute('style', zh_style_inactive);

                c.style.cssText = zh_style_inactive;

            }

            continue;

        }

        if (c.title != '' && c.title != null) c.title = c.title.tran();

        if (c.alt != '' && c.alt != null) c.alt = c.alt.tran();

        if (c.tagName == "INPUT" && c.value != '' && c.type != 'text' && c.type != 'hidden' && c.type != 'password') c.value = c.value.tran();

        if (c.nodeType == 3) {

            c.data = c.data.tran();

        } else {

            zh_tranBody(c);

        }

    }

}

function zh_tran(go) {

    if (go) zh_choose = go;

    setCookie('zh_choose', zh_choose, zh_expires);

    if (go == 'n') {

        window.location.reload();

    } else {

        zh_tranBody();

    }

}

function zh_getLang() {

    if (getCookie('zh_choose')) {

        zh_choose = getCookie('zh_choose');

        return true;

    }

    if (!zh_autoLang_t && !zh_autoLang_s) return false;

    if (getCookie('zh_autoLang_checked')) return false;

    if (navigator.language) {

        zh_browserLang = navigator.language;

    } else if (navigator.browserLanguage) {

        zh_browserLang = navigator.browserLanguage;

    }

    if (zh_autoLang_t && zh_langReg_t.test(zh_browserLang)) {

        zh_choose = 't';

    } else if (zh_autoLang_s && zh_langReg_s.test(zh_browserLang)) {

        zh_choose = 's';

    }

    zh_autoLang_checked = 1;

    setCookie('zh_choose', zh_choose, zh_expires);

    if (zh_choose == zh_default) return false;

    return true;

}

function zh_init() {

    zh_getLang();

    c = document.getElementById(zh_class + '_' + zh_choose);

    if (zh_choose != zh_default) {

        if (window.onload) {

            window.onload_before_zh_init = window.onload;

            window.onload = function () {

                zh_tran(zh_choose);

                if (getCookie('zh_autoLang_check')) {

                    //alert(zh_autoLang_msg);

                };

                window.onload_before_zh_init();

            };

        } else {

            window.onload = function () {

                zh_tran(zh_choose);

                if (getCookie('zh_autoLang_check')) {

                    //alert(zh_autoLang_msg);

                };

            };

        }

    }

}

zh_init()

声明:本文内容转载自脚本之家,由网友自发贡献,版权归原作者所有,如您发现涉嫌抄袭侵权,请联系admin@php.cn 核实处理。
全部评论
文明上网理性发言,请遵守新闻评论服务协议