• CMS
    内容发布型网站
  • 结构清晰 易于发布
    功能强大 容易扩展
  • B2C
    购物型网站
  • 安全,优化,功能齐全
    及完善的后台管理
  • 客户定制
    系统开发
  • 用我们精湛的技术
    打造属于你的系统
  • 完善的
    解决方案
  • 业务背后是强大的
    开源社区, 你事业无忧
  • 后续
    技术支持
  • 稳定的后续技术支持
    为你的业务保驾护航

ThinkPHP 核心部分英文语言包

浏览位置

ThinkPHP 核心部分英文语言包  点击下载

 * 该语言包适用版本:ThinkPHP 3.0 Release 2012/3/5 

 除了lang文件夹,其它有中文的地方:
 /ThinkPHP/Tpl/dispatch_jump.tpl
 /ThinkPHP/Extend/Engine/Sae/Common/functions.php
 /ThinkPHP/Common/functions.php
在conf文件里面配置一下语言,再把相关的文件放到对应的位置即可 



主要内核翻译:

return array(
    //  CORE
    '_MODULE_NOT_EXIST_'=>  'Can not load module',
    '_ERROR_ACTION_'=>      'Invalid operation',
    '_LANGUAGE_NOT_LOAD_'=> 'Can not load language pack',
    '_TEMPLATE_NOT_EXIST_'=>    'Template does not exist',
    '_MODULE_'=>'module',
    '_ACTION_'=>'action',
    '_ACTION_NOT_EXIST_'=>'Controller not existed or not defined',
    '_MODEL_NOT_EXIST_'=>'Model not existed or not defined',
    '_VALID_ACCESS_'=>'no privilege',
    '_XML_TAG_ERROR_'=>'XML tag error',
    '_DATA_TYPE_INVALID_'=>'Invalid data object',
    '_OPERATION_WRONG_'=>'wrong operation',
    '_NOT_LOAD_DB_'=>'Can not load database',
    '_NOT_SUPPORT_DB_'=>'System not support database',
    '_NO_DB_CONFIG_'=>'No database config',
    '_NOT_SUPPERT_'=>'Not support',
    '_CACHE_TYPE_INVALID_'=>'Cache type invalid',
    '_FILE_NOT_WRITEABLE_'=>'file not writable',
'_METHOD_NOT_EXIST_'=>'the request method does not exist',
    '_CLASS_NOT_EXIST_'=>'class not exist',
    '_CLASS_CONFLICT_'=>'class name conflict',
    '_TEMPLATE_ERROR_'=>'Template engine error',
    '_CACHE_WRITE_ERROR_'=>'cache write error',
    '_TAGLIB_NOT_EXIST_'=>'tag library not exist',
'_OPERATION_FAIL_'=>'Operation failed',
'_OPERATION_SUCCESS_'=>'Operation succeed',
'_SELECT_NOT_EXIST_'=>'the select record does not exist',
    '_EXPRESS_ERROR_'=>'Expression error',
    '_TOKEN_ERROR_'=>'Form token error',
    '_RECORD_HAS_UPDATE_'=>'the record is updated',
    '_NOT_ALLOW_PHP_'=>'PHP code is not allowed in template',
);


欢迎信息反馈 / 咨询 / 评论 / 联系我们
名字   *
Email*
验证码   *
内容*