站长百科 | 数字化技能提升教程 数字化时代生存宝典
首页
数字化百科
电子书
建站程序
开发
服务器
办公软件
开发教程
服务器教程
软件使用教程
运营教程
热门电子书
WordPress教程
宝塔面板教程
CSS教程
Shopify教程
导航
程序频道
推广频道
网赚频道
人物频道
网站程序
网页制作
云计算
服务器
CMS
论坛
网店
虚拟主机
cPanel
网址导航
WIKI使用导航
WIKI首页
最新资讯
网站程序
站长人物
页面分类
使用帮助
编辑测试
创建条目
网站地图
站长百科导航
站长百科
主机侦探
IDCtalk云说
跨境电商导航
WordPress啦
站长专题
网站推广
网站程序
网站赚钱
虚拟主机
cPanel
网址导航专题
云计算
微博营销
虚拟主机管理系统
开放平台
WIKI程序与应用
美国十大主机
编辑“
WordPress:Files For Direct Translation
”(章节)
人物百科
|
营销百科
|
网赚百科
|
站长工具
|
网站程序
|
域名主机
|
互联网公司
|
分类索引
跳转至:
导航
、
搜索
警告:
您没有登录。如果您做出任意编辑,您的IP地址将会公开可见。如果您
登录
或
创建
一个账户,您的编辑将归属于您的用户名,且将享受其他好处。
反垃圾检查。
不要
加入这个!
=== TinyMCE 文件(只直到WP 2.3) === ''Note: From WordPress 2.5 on there is no more need for direct translation of TinyMCE files, since their strings are contained within the main WordPress POT file.'' ''注:从WordPress2.5开始,更需要直接翻译TinyMCE文件,因为这些字符串包含在WordPress主要的POT文件中。'' TinyMCE is the HTML editor included in WordPress. It is written in JavaScript, and therefore uses a different system for localization. To localize TinyMCE, you will need to do the following: TinyMCE是WordPress中包含的HTML编辑器,使用JavaScript编写的,因此为本地化使用不同的系统。要本地化TinyMCE,你需要执行以下的操作: * <tt>wp-includes/js/tinymce/langs/</tt> - create and add a file named <tt>ll_cc.js</tt>, where <tt>ll</tt> is the lower-case language code for your locale, and <tt>cc</tt> is the lower-case country code. For example, the <tt>bg_BG</tt> locale files should be named <tt>bg_bg.js</tt>. This file should contain the translations of strings in <tt>en.js</tt> (text for buttons and descriptions). * <tt>wp-includes/js/tinymce/langs/</tt> -创建并且添加名称为<tt>ll_cc.js</tt>的文件,<tt>ll</tt> 是你的locale的小写字母语言代码,<tt>cc</tt>是小写字母国家代码。例如,<tt>bg_BG</tt>本地化文件应该命名为<tt>bg_bg.js</tt>。这个文件应该在<tt>en.js</tt>中包含了字符串的翻译(按钮和描述的文本)。 * Several sub-directories of TinyMCE also have language directories, where you will need to do the same type of translation of their text: *TinyMCE的几个子目录也有语言目录,你需要同样地翻译这些文本: **<tt>wp-includes/js/tinymce/plugins/wphelp/langs/</tt> **<tt>wp-includes/js/tinymce/plugins/directionality/langs/</tt> **<tt>wp-includes/js/tinymce/plugins/spellchecker/langs/</tt> **<tt>wp-includes/js/tinymce/plugins/autosave/langs/</tt> **<tt>wp-includes/js/tinymce/plugins/wordpress/langs/</tt> **<tt>wp-includes/js/tinymce/plugins/paste/langs/</tt> **<tt>wp-includes/js/tinymce/langs/</tt> **<tt>wp-includes/js/tinymce/themes/advanced/langs/</tt> **<tt>wp-includes/js/tinymce/plugins/wphelp/langs/</tt> **<tt>wp-includes/js/tinymce/plugins/directionality/langs/</tt> **<tt>wp-includes/js/tinymce/plugins/spellchecker/langs/</tt> **<tt>wp-includes/js/tinymce/plugins/autosave/langs/</tt> **<tt>wp-includes/js/tinymce/plugins/wordpress/langs/</tt> **<tt>wp-includes/js/tinymce/plugins/paste/langs/</tt> **<tt>wp-includes/js/tinymce/langs/</tt> **<tt>wp-includes/js/tinymce/themes/advanced/langs/</tt> **Possibly others, if you have different TinyMCE plugins or themes -- search your TinyMCE directory structure for other <tt>langs</tt> directories. **也许还有其它的,如果你有不同的TinyMCE插件或者主题—为其它的<tt>langs</tt>目录,搜索你的TinyMCE目录结构。
摘要:
请注意,您对站长百科的所有贡献都可能被其他贡献者编辑,修改或删除。如果您不希望您的文字被任意修改和再散布,请不要提交。
您同时也要向我们保证您所提交的内容是您自己所作,或得自一个不受版权保护或相似自由的来源(参阅
Wordpress-mediawiki:版权
的细节)。
未经许可,请勿提交受版权保护的作品!
取消
编辑帮助
(在新窗口中打开)