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...Setting the default languageSetting the default language
Previous
 
Next
New Post
8/12/2006 11:01 AM
 

Hi,
I have two languages in my portal: English and Hebrew.
I defined in the portal settings the default language to be hebrew.
However, when non logged in users visit the site - the active language is English.
Where can i define that hebrew will be the default language for all users?

Thanks.

 
New Post
8/16/2006 2:17 AM
 
You cannot do that unless you only have one language on the portal. DNN will read the language settings on the browser and use the list to select the language that best suits the user preferences.

Vicenç Masanas
Banyoles, Girona - Spain

Disgrafic.com    PSD to DNN
 
New Post
8/16/2006 10:36 AM
 
Thanks for your answer.
Just to be sure:
1. If the user will set (in his preferences) Hebrew as the default language,
DNN will not read the browser settings?

2. Can i disable English and leave one language?
 
New Post
9/12/2006 5:32 PM
 

While DNN reading the browser preference is useful, some of my clients want the site to *always* open first in a given language.

The only workaround I found was to do the following:

Step 1:
Place an .asp (or .aspx page) in the root folder that redirects to http://www.yoursite.com/Home/tabID/36/fr-CA/Default.aspx. As you can see, it is possible to define the locale in your home page link.

ASP example:
<%
response.redirect("http://www.yoursite.com/Home/tabID/36/fr-CA/Default.aspx")
%>

Step 2:
If the file is called index.asp, go to the IIS preferences for the site and change the default document order so that index.asp gets checked first (add it if it's not there, and move it above default.aspx)

And voilà! when people access www.yoursite.com, they will get redirected to the home page in the language you specify in the redirect.

Hope this helps someone...

Olivier
http://www.evolutis.ca/

 
New Post
9/17/2006 4:55 AM
 
It helped me and is probably useful to most people without english as their native language. I have never touched my browser language(well, I had to test it), nor do I expect others to do it.

Thank you odumetz.

Lars
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Language and In...Language and In...Setting the default languageSetting the default language


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