Asp.net mvc 标签标题处未显示本地化文本

Asp.net mvc 标签标题处未显示本地化文本,asp.net-mvc,frameworks,Asp.net Mvc,Frameworks,我无法从site.text.tr.json文件更改选项卡的标题。 我在下面添加字符串: "StudentIn.StudentInGeneralDefinitions:StudentInformation": "Fatura Bilgileri", 我的选项卡代码: <div id="~_Tabs" class="s-DialogContent"> <ul> <li> <a href="#~_TabStudent">

我无法从site.text.tr.json文件更改选项卡的标题。 我在下面添加字符串:

"StudentIn.StudentInGeneralDefinitions:StudentInformation": "Fatura Bilgileri",
我的选项卡代码:

 <div id="~_Tabs" class="s-DialogContent">
   <ul>
     <li>
       <a href="#~_TabStudent">
         <span> {{text:"StudentIn.StudentInGeneralDefinitions:StudentInformation"}}
         </span>
       </a>
     </li>


下面的部分是在客户端运行的JsRender扩展


{{text:“StudentIn.StudentInGeneralDefinitions:StudentInformation”}

要使此键解析其文本表示形式,此localtext必须在客户端可用。这意味着它应该从服务器端传输到客户端

默认情况下,Serenity只向客户端传输一组特定的本地文本。这是为了限制传输文本的大小,避免向客户端代码泄露一些敏感字符串

web.config设置(LocalTextPackages)控制传输哪些文本(默认情况下,以“Db.”、“Site.”、“Forms.”、“Dialogs.”等开头的文本)

在此处添加StudentIn,或使用以“Site”开头的本地文本键。例如:


“Site.StudentIn.studentingeraldefinitions:StudentInformation”

我对这个框架一无所知,但仅根据您的代码示例,我已经看到
StudentIn.studentingeraldefinitions:InvoiceInformation
StudentIn.studentingeraldefinitions:StudentInformation
不同。