Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Language and In...Language and In...Alphabetical sorting in database to support multi-lingual DNN sitesAlphabetical sorting in database to support multi-lingual DNN sites
Previous
 
Next
New Post
4/21/2008 9:33 AM
 

Hi,

I am using DNN v4.5.0 and Sql Server 2005 and need my site to support localization. SInce we are going to have many languages to support, i wanted to know as to how the sorting of the content in the database would be done? Should we use COLLATE functionality for the alphabetical sorting of data? Or is it something which can be done from DNN side?

Please do let me know your views on this.

Thanx in advance.

 
New Post
4/21/2008 1:09 PM
 

do not touch collation, since sorting is usually performed by business logic instead of database and you will experience problems, if you use other than default collation.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
4/22/2008 10:40 AM
 

I had forgotten to mention that we are using "nvarchar" in the language fields. So in that case are you saying that a simple order by of that column will return the necessary alphabetical sorted order?

Please elaborate on this point.

Thanx.

 
New Post
4/22/2008 12:40 PM
 

the field to store the language key in, can be either nVarchar or varchar, since AFAIK it does not allow non-ASCII characters.

Sorting is usually done by the business logic,using sort specifications from UI locale, and not by database.

 


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
4/24/2008 6:51 AM
 

Can you give me some tips on how this can be achieved? Is it using the CultureInfo class of namespace "System.globalization"? and the "SortKey" class??

If possible, can you forward links where this is explained in detail.

Thanx in advance.

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Language and In...Language and In...Alphabetical sorting in database to support multi-lingual DNN sitesAlphabetical sorting in database to support multi-lingual DNN sites


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out