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...How to localize with different domain nameHow to localize with different domain name
Previous
 
Next
New Post
10/13/2009 9:58 AM
 

Enzo,

Sorry I don't have any live examples for you.  I would suggest in your development site that you create the portal, add the alias', modify your hosts file to point to those local  domains.  Then code your skin like above.

 

Robert

 
New Post
10/29/2009 10:58 AM
 

 Hi,

I've tried. It works correctly , and the new locale is ok for the following html

<META HTTP-EQUIV="Content-Language" content="en-GB">

but it still remains in the HTML Tag the defaul language

<html lang="it-IT">

How I can change it?

Regards

Enzo

 

 
New Post
10/31/2009 5:41 PM
 

 Hi, I've a portal with two different alias, one for eache language: - en.mysite.com - it.mysite.com Now I've the issue to have English language on the first portal and Italian on the second one. What I've done is to add the following line in the default.vb.aspx in the Page_Load: If Request.Url.Host = "en.mysite.com" Then System.Threading.Thread.CurrentThread.CurrentCulture = New System.Globalization.CultureInfo("en-GB") ElseIf Request.Url.Host = "it.mysite.com" Then System.Threading.Thread.CurrentThread.CurrentCulture = New System.Globalization.CultureInfo("it-IT") Else System.Threading.Thread.CurrentThread.CurrentCulture = New System.Globalization.CultureInfo("en-GB") End If It partially works, the LOCALE variable is correctly set, but I've noticed that: - the combobox of the language is not set correctly - the html tag <html lang="it-IT"> doesn't change, it always remains with the default language of the portal, in my case it-IT - the localization module doesn't run, for eg using Locopon to change the TabName for each language doesn't work. I think the the previous issues are related to the same thing, but I don't know how to solve it thanks


 
New Post
2/16/2018 4:42 PM
 
Hi,

Does anyone else found better solution using DNN 9 or later versions?

So, I need to setup different domain name for each of portal languages.

Thanks,
Luan
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Language and In...Language and In...How to localize with different domain nameHow to localize with different domain name


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