久久久久久久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>
                          • 主站蜘蛛池模板: 中文字幕一区二区视频 | 热久色| 精品国产乱码一区二区三区a | 国产成人精品一区二区三区在线观看 | 99re视频在线 | 一级片在线视频 | 欧洲免费视频 | 91久久久久久久久 | 国产精品高清一区二区三区 | 久久av一区二区三区 | av中文在线 | 色999日韩| 热久久性 | 亚洲国产精品一区二区第一页 | 日韩一区二区视频 | 黄色大片毛片 | 日本成人中文字幕 | 黄色亚洲 | 天天躁日日躁xxxxaaaa | 久久久精品国产 | 国产高清精品在线 | 自拍 亚洲 欧美 老师 丝袜 | 91天堂网 | 不用播放器看的av | 免费成人在线网站 | 久久国产精品网站 | 日韩av一区二区在线观看 | 在线免费观看黄a | 激情毛片 | 国产中文在线 | 久久69精品久久久久久久电影好 | 久久久www成人免费精品张筱雨 | 情侣黄网站免费看 | 黄久久久 | 99久久婷婷国产精品综合 | 欧美日韩亚洲视频 | 亚洲视频免费 | 中文字字幕在线中文乱码范文 | 亚洲一区二区视频在线观看 | 欧美日韩精品一区二区三区四区 | 中国一级特黄真人毛片 |