久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

  • <small id='Jswwd'></small><noframes id='Jswwd'>

    <legend id='Jswwd'><style id='Jswwd'><dir id='Jswwd'><q id='Jswwd'></q></dir></style></legend>
  • <i id='Jswwd'><tr id='Jswwd'><dt id='Jswwd'><q id='Jswwd'><span id='Jswwd'><b id='Jswwd'><form id='Jswwd'><ins id='Jswwd'></ins><ul id='Jswwd'></ul><sub id='Jswwd'></sub></form><legend id='Jswwd'></legend><bdo id='Jswwd'><pre id='Jswwd'><center id='Jswwd'></center></pre></bdo></b><th id='Jswwd'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='Jswwd'><tfoot id='Jswwd'></tfoot><dl id='Jswwd'><fieldset id='Jswwd'></fieldset></dl></div>
  • <tfoot id='Jswwd'></tfoot>

      <bdo id='Jswwd'></bdo><ul id='Jswwd'></ul>

        如何本地化數據庫驅動的網站

        How do you localize a database driven website(如何本地化數據庫驅動的網站)
      1. <small id='PTtTV'></small><noframes id='PTtTV'>

        <tfoot id='PTtTV'></tfoot>

      2. <i id='PTtTV'><tr id='PTtTV'><dt id='PTtTV'><q id='PTtTV'><span id='PTtTV'><b id='PTtTV'><form id='PTtTV'><ins id='PTtTV'></ins><ul id='PTtTV'></ul><sub id='PTtTV'></sub></form><legend id='PTtTV'></legend><bdo id='PTtTV'><pre id='PTtTV'><center id='PTtTV'></center></pre></bdo></b><th id='PTtTV'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='PTtTV'><tfoot id='PTtTV'></tfoot><dl id='PTtTV'><fieldset id='PTtTV'></fieldset></dl></div>
        <legend id='PTtTV'><style id='PTtTV'><dir id='PTtTV'><q id='PTtTV'></q></dir></style></legend>
          <tbody id='PTtTV'></tbody>

                  <bdo id='PTtTV'></bdo><ul id='PTtTV'></ul>
                • 本文介紹了如何本地化數據庫驅動的網站的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我一直在使用 .NET 內置的本地化功能,它們似乎都依賴于將數據放入 resx 文件中.

                  I've been playing with the .NET built in localization features and they seem to all rely on putting data in resx files.

                  但大多數系統不能依賴此,因為它們是數據庫驅動的.那么你如何解決這個問題呢?是否有內置的 .NET 方式,或者您是否在 SQL 中創建翻譯表并手動完成所有操作?如果您必須在大多數網站上執行此操作,是否有任何理由甚至使用 resx 本地化方式?

                  But most systems can't rely on this because they are database driven. So how do you solve this issue? Is there a built in .NET way, or do you create a translations table in SQL and do it all manually? And if you have to do this on the majority of your sites, is there any reason to even use the resx way of localization?

                  這方面的一個例子是我的網站上有一個常見問題解答列表,我將此列表保存在數據庫中,以便我可以輕松添加/刪除更多內容,但是將其放入數據庫中,我無法翻譯此信息翻譯成多種語言.

                  An example of this is I have an FAQ list on my site, I keep this list in the database so I can easily add/remove more, but by putting it in the database, I have no good way have translating this information into multiple languages.

                  推薦答案

                  在我看來,本地化動態內容(例如,您的常見問題解答)應該由您在數據庫中完成.根據您的問題的存儲方式,我可能會創建一個區域設置"列并在從數據庫中選擇常見問題解答問題時使用它.我不確定當您開始本地化大量表時這是否會很好地擴展.

                  In my opinion, localizing dynamic content (e.g., your FAQ) should be done by you in your database. Depending on how your questions are stored, I would probably create a "locale" column and use that when selecting the FAQ questions from the database. I'm not sure if this would scale very well when you started localizing lots of tables.

                  對于靜態內容(例如,表單字段標簽、靜態文本、圖標等),您應該可以使用基于文件的資源.但是,如果您真的想這樣做,看起來創建一個可以處理此問題的自定義資源提供程序實現并不難.

                  For static content (e.g, form field labels, static text, icons, etc) you should probably be just fine using file-based resources. If you really wanted to, however, it looks like it wouldn't be super hard to create a custom resource provider implementation that could handle this.

                  以下是一些相關鏈接:

                  • http://channel9.msdn.com/forums/Coffeehouse/250892-Localizing-with-a-database-or-resx-files/
                  • http://weblogs.asp.net/scottgu/archive/2006/05/30/ASP.NET-2.0-Localization-_2800_Video_2C00_-Whitepaper_2C00_-and-Database-Provider-Support_2900_.aspx
                  • http://www.arcencus.nl/Blogs/tabid/105/EntryID/20/Default.aspx
                  • http://msdn.microsoft.com/en-us/library/aa905797.aspx
                  • http://www.codeproject.com/KB/aspnet/customsqlserverprovider.aspx

                  這篇關于如何本地化數據庫驅動的網站的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  Ignore whitespace while reading XML(讀取 XML 時忽略空格)
                  XML to LINQ with Checking Null Elements(帶有檢查空元素的 XML 到 LINQ)
                  Reading XML with unclosed tags in C#(在 C# 中讀取帶有未閉合標簽的 XML)
                  Parsing tables, cells with Html agility in C#(在 C# 中使用 Html 敏捷性解析表格、單元格)
                  delete element from xml using LINQ(使用 LINQ 從 xml 中刪除元素)
                  Parse malformed XML(解析格式錯誤的 XML)

                      <small id='9gZmB'></small><noframes id='9gZmB'>

                          <tbody id='9gZmB'></tbody>

                        <legend id='9gZmB'><style id='9gZmB'><dir id='9gZmB'><q id='9gZmB'></q></dir></style></legend>
                        <tfoot id='9gZmB'></tfoot>
                          <bdo id='9gZmB'></bdo><ul id='9gZmB'></ul>

                        • <i id='9gZmB'><tr id='9gZmB'><dt id='9gZmB'><q id='9gZmB'><span id='9gZmB'><b id='9gZmB'><form id='9gZmB'><ins id='9gZmB'></ins><ul id='9gZmB'></ul><sub id='9gZmB'></sub></form><legend id='9gZmB'></legend><bdo id='9gZmB'><pre id='9gZmB'><center id='9gZmB'></center></pre></bdo></b><th id='9gZmB'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='9gZmB'><tfoot id='9gZmB'></tfoot><dl id='9gZmB'><fieldset id='9gZmB'></fieldset></dl></div>
                          • 主站蜘蛛池模板: 在线观看视频一区 | 免费黄色在线观看 | 五月综合激情网 | aaaaaaa片毛片免费观看 | 国产一区91精品张津瑜 | 福利视频网址 | 日韩和的一区二区 | 超碰国产在线 | 精品国产乱码久久久久久果冻传媒 | 中文字幕一区在线观看视频 | 亚洲伊人a | 在线视频第一页 | 精品久久国产老人久久综合 | 久久国产精品一区二区三区 | 日韩成人在线视频 | 国产精品国产精品国产专区不蜜 | 少妇精品亚洲一区二区成人 | 中文字幕日韩欧美 | 97精品超碰一区二区三区 | 二区在线观看 | 高清欧美性猛交xxxx黑人猛交 | 久久久久久久久淑女av国产精品 | 久久久久久国产精品免费免费狐狸 | 日日夜夜精品视频 | 91大神在线资源观看无广告 | 男人的天堂久久 | 日韩一区二区福利视频 | 国产欧美在线视频 | 91传媒在线观看 | 2一3sex性hd | 国产精品有限公司 | 九九免费观看视频 | 国产精品一区二区av | 成人在线免费视频 | 国产成人免费在线 | 欧美成人一区二区 | 国产精品久久亚洲 | 国产在线视频三区 | 国产最好的av国产大片 | 亚洲精品www久久久 www.蜜桃av | 欧美日韩三级在线观看 |