daocatt
daocatt
/src/applications/auth/engine/PhabricatorAuthSessionEngine.php Line: 1126 按照如下方法修改: ``` // Switch to the user's translation. $user_translation = $user->getTranslation(); if(!$user->isLoggedIn()) { $user_translation = 'zh_Hans'; } PhabricatorEnv::setLocaleCode($user_translation); ``` tips: 需要先安装中文语言包
> "Get Well Soon,\nPhabricator": "快点好起来,\nPhabricator", > => > "Get Well Soon,\nPhabricator": "马上就好,\nPhabricator", > "Rats!": "卑鄙小人!", > => > "Rats!": "出错啦!", > > "Send Another Email": "发送领一封邮件", > "Send Another Verification...