We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 16873
    • 40 Posts
    0962终于释放出来了。
    语言包还是可以利用前面一个朋友的UTF8包。大约097有很大的变化,建议不用太多精力去翻译他。何况核心报告的语言并没有被规范出来。比如后台的日志管理:actionlist.inc.php 报错等等。。。。。。。。
    不过注意有问题
    1:修改文件
    http://modxcms.com/forums/index.php/topic,28897.0.html

    E:\allwebwork\modx962\manager\includes\extenders\
    文件 :dbapi.mysql.class.inc.php
    添加:80行之前 添加:global $database_connection_method;
    2:添加文件:
    E:\allwebwork\modx962\assets\plugins\tinymce3101\lang
    是否添加决定于你的语言包的名字。
    假设我们用的语言包文字是chinese.php
    哪么需要在上面的目录下建立一个chinese.inc.php的文件,
    文件内容
    include_once(dirname(__FILE__).'/english.inc.php'); // fallback for missing defaults or new additions
    
    $_lang['tinymce_editor_theme_title'] = "风格:";
    $_lang['tinymce_editor_theme_message'] = "选择编辑器皮肤";
    $_lang['tinymce_editor_custom_plugins_title'] = "定义插件:";
    $_lang['tinymce_editor_custom_plugins_message'] = "用逗号隔开";
    $_lang['tinymce_editor_custom_buttons_title'] = "定义按钮:";
    $_lang['tinymce_editor_custom_buttons_message'] = "用逗号隔开,并且保证上面的插件里已经激活相关的配置";
    $_lang['tinymce_editor_css_selectors_title'] = "CSS选择器";
    $_lang['tinymce_editor_css_selectors_message'] = "这个可以不用翻译了,大约就是说提供一些CSS的下拉选择,方便编辑格式。Here you can enter a list of selectors that should be available in the editor. Enter them as follows:<br />'displayName=selectorName;displayName2=selectorName2'<br />For instance, say you have <b>.mono</b> and <b>.smallText</b> selectors in your CSS file, you could add them here as:<br />'Monospaced text=mono;Small text=smallText'<br />Note that the last entry should not have a semi-colon after it.";
    $_lang['tinymce_settings'] = "TinyMCE设置";
    $_lang['tinymce_theme_simple'] = "简单的";
    $_lang['tinymce_theme_advanced'] = "高级的";
    $_lang['tinymce_theme_editor'] = "内容编辑者专用";
    $_lang['tinymce_theme_custom'] = "定制";
    ?>

      • 16873
      • 40 Posts
      20aplha4国庆放出,核心全变。如何安全升级是个问题。包括很多的snip可能都有问题