如何更改 tynimce 或 fck 编辑器语言?
如何更改 tynimce 或 fck 编辑器语言。 例如:- 如何设置印地语语言 是否可以。任何人都知道解决方案请帮助我。
How can I change tynimce or fck editor language.
for eg :- How can I set hindi language
is it possible. any body knows the solution kindly help me.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
如果没有适用于您的语言的语言包,请下载英文包,并将英文字符串替换为您的语言中的正确单词或短语。另外,您需要根据您的语言缩写代码重命名文件。以德语为例,您可以将文件
en.js
重命名为de.js
(嗯,德语语言包已经可用)。然后您可以帮tinmymce社区一个大忙,并将您的新语言包提交给moxiecode - 开发者的tinymce,以便其他用户可以使用您的翻译。If there is no language package available for your language download the english one and replace the english strings with the correct word or phrase in your language. Plus you need to rename the files according to your language abbrevation code. In example for the german language you would rename the files
en.js
tode.js
(well, german language package is available already). Then you could do the tinmymce community a great favor and submit your new language package to moxiecode - the developer of tinymce, so that other users may use your translation.您只需下载本地化包即可。看一下这里:http://tinymce。 moxiecode.com/i18n/index.php?ctrl=lang&act=download&pr_id=1
You could just download a localized package. Take a look here: http://tinymce.moxiecode.com/i18n/index.php?ctrl=lang&act=download&pr_id=1
下载适当的语言包(请参阅 cbrandolino 的链接,TinyMCE 可以使用印地语)并在 TinyMCE-init 函数中设置语言:
Download the appropriate language pack (see cbrandolino's link, Hindi is available for TinyMCE) and set the language in your TinyMCE-init function: