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

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsLanguage PacksLanguage Packshow do I add a new Language ?how do I add a new Language ?
Previous
 
Next
New Post
1/9/2006 3:08 PM
 

I've had the same problem with greenlandic somehow being excluded from the languagelist from Microsoft. But faroese is there, which is a bit odd since both Greenland and The Faroe Island are a part of the danish kingdom, and have a similar amount og people speaking the language... But...

I 'solved' the problem by changing the code in DotNetNuke.Localization.Localization.vb
The sub LoadCultureDropDownList has a select structure that 'translates' the languagecode to a text string.
In Greenland, the typical languages that need be supported on a website are greenlandic, danish and english.

Case CultureDropDownTypes.NativeName
                            Select Case item.Value
                                Case "nb-NO"
                                    item.Text = "Kalaallisut"
                                Case "da-DK"
                                    item.Text = "Dansk"
                                Case "en-US"
                                    item.Text = "English"
                                Case Else
                                    item.Text = CultureInfo.CurrentCulture.TextInfo.ToTitleCase(info.NativeName)
                            End Select

It's not pretty, but is seems to work - even in the multilanguage modules that Delisoft and Apollo have made. Anyone have a better solution? This solution works with DNN 3.2.2


Dan Rasmussen Software developer Inu:IT A/S www.inuit.gl
 
New Post
1/9/2006 6:30 PM
 
I'm sorry but I don't think that's possible since ASP.NET will try to create a new culture based on your locale code and since this is not supported it will break and error.

If you carefully read my post above on this same thread you will the there's in fact possible to create "custom" locales in asp.net but as I explain I don't think this is a dnn task.

Vicenç Masanas
Banyoles, Girona - Spain

Disgrafic.com    PSD to DNN
 
New Post
1/9/2006 6:36 PM
 
For more information read the help on CultureAndRegionInfoBuilder class on Msdn.
Specifically read the parts that deal with security (and the Register method.
If you have full control of your server you can explore that possibility but that's something not all users will be able to do so I don't see this as a viable option for us.

Vicenç Masanas
Banyoles, Girona - Spain

Disgrafic.com    PSD to DNN
 
New Post
2/7/2006 1:58 PM
 

The trick is that I dont't create a new language, but ude Norsk Bokmål and just change the display name returned to Greenlandic (Kalaallisut)

Case "nb-NO" = Norsk Bokmål
       item.Text = "Kalaallisut" = Non-existing greenlandic language in ASP.NET

You can see it running on http://demo.inuit.gl


Dan Rasmussen Software developer Inu:IT A/S www.inuit.gl
 
New Post
3/12/2006 10:33 AM
 
ErikVB wrote
i fear we will have to wait till asp.net 2.0 for this, see this article: http://msdn.microsoft.com/msdnmag/issues/05/10/Globalization/default.aspx
 
Maybe this is a good thing to put on the localization todo list: add an interface to create custom locales/cultures....
 
Hello
asp.net 2.0 is here, but no solution for creating a custom locale. I read in this forum that it isn't possible given by asp.net and DotNetNuke.
Let me explain a scenario:
In Switzerland there are 4 official langauges. I want to have the dynamic content in Swiss-German, which is the default langauge and i want to have it localized for the language Rumantsch (like CH-ru). But this language is not within the asp.net list. I don't need the static content to be translated for the Rumantsch people, that can remain Swiss-German (CH-de). Can somebody give me a hint how this scenario with 1 static language and 2 dyamic languages could be realized with DotNetNuke?
 
Thanks in advance and regards
Nicolo
 
 
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsLanguage PacksLanguage Packshow do I add a new Language ?how do I add a new 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