|
.net
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
A translatable websiteas English and French. I'm thinking of storing each display string in one XML file: <string00000001> <english>Hello</english> <french>Bonjour</french> <spanish>...</spanish> <japanese>...</japanese> </string00000001> <string00000002> <english>Goodbye</english> <french>Au revoir</french> <spanish>...</spanish> <japanese>...</japanese> </string00000002> .... Suppose there are 50,000 such strings in the XML, would there be any speed concerns in retrieving these strings for display on the website? Bob,
Keep specific .xml file for each language.For maintinance purpose it will be good.Bcos in future if you want to change some specific string for one particular language ,you need to search string,language.Instead if you keep seperate file,it will easy for u to change. And also if you have big xml file ,surely it will take time to load the xml file which contains more data. Show quoteHide quote "Bob" wrote: > I want to make my website translatable in different spoken languages, such > as English and French. I'm thinking of storing each display string in one > XML file: > > <string00000001> > <english>Hello</english> > <french>Bonjour</french> > <spanish>...</spanish> > <japanese>...</japanese> > </string00000001> > <string00000002> > <english>Goodbye</english> > <french>Au revoir</french> > <spanish>...</spanish> > <japanese>...</japanese> > </string00000002> > .... > > Suppose there are 50,000 such strings in the XML, would there be any speed > concerns in retrieving these strings for display on the website? > > > For my opinion satelite assmblies would be the best solution
Show quoteHide quote "Santhi Maadhaven" wrote: > Bob, > > Keep specific .xml file for each language.For maintinance purpose > it will be good.Bcos in future if you want to change some specific string for > one particular language ,you need to search string,language.Instead if you > keep seperate file,it will easy for u to change. And also if you have big xml > file ,surely it will take time to load the xml file which contains more data. > > "Bob" wrote: > > > I want to make my website translatable in different spoken languages, such > > as English and French. I'm thinking of storing each display string in one > > XML file: > > > > <string00000001> > > <english>Hello</english> > > <french>Bonjour</french> > > <spanish>...</spanish> > > <japanese>...</japanese> > > </string00000001> > > <string00000002> > > <english>Goodbye</english> > > <french>Au revoir</french> > > <spanish>...</spanish> > > <japanese>...</japanese> > > </string00000002> > > .... > > > > Suppose there are 50,000 such strings in the XML, would there be any speed > > concerns in retrieving these strings for display on the website? > > > > > > "Bob" <spamfree@nospam.com> wrote in message Don't...news:e%23ZW3rX8FHA.3984@TK2MSFTNGP11.phx.gbl... > I'm thinking of storing each display string in one XML file: http://www.google.com/search?sourceid=navclient&ie=UTF-8&rls=GEUA,GEUA:2005-45,GEUA:en&q=%22ASP%2ENET%22+%22resource+file%22+multi+language Read this short tutorial on how to do it in ASP.NET 2.0
http://www.pcquest.com/content/coding/2004/104063001.asp Best regards, Mats Bob wrote: Show quoteHide quote > I want to make my website translatable in different spoken languages, such > as English and French. I'm thinking of storing each display string in one > XML file: > > <string00000001> > <english>Hello</english> > <french>Bonjour</french> > <spanish>...</spanish> > <japanese>...</japanese> > </string00000001> > <string00000002> > <english>Goodbye</english> > <french>Au revoir</french> > <spanish>...</spanish> > <japanese>...</japanese> > </string00000002> > ... > > Suppose there are 50,000 such strings in the XML, would there be any speed > concerns in retrieving these strings for display on the website? > >
Other interesting topics
How to add a small HTML table under a row of a GridView
Application["TotalPlayings"]++ doesn't work Source Control Products??? Downloading file from database Problem Running ASP.NET/ASP App Under VS 2005 ASP classic -> ASP.NET 2.0 how load one frame before another in aspx page specifying a query string in an href dynamically Disabling Link Button Column in Datagrid Connecting to Active Directory through ASP.NET Web form |
|||||||||||||||||||||||