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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Country List discrepancyCountry List discrepancy
Previous
 
Next
New Post
11/16/2008 12:17 PM
 

I just checked out RegionsInfo class of .Net framework, which provides ISO codes, English and localized names - for Countries only. And to get localized names in multiple languages would require to install .net language packs - not always an option in hosted environments. ATM the only option, I can think about, is extending DNN core with localized lists.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
12/15/2008 9:39 PM
 

This has been classified as an Enhancement, not a bug in Gemini, which I suspects means it is not going to get fixed any time soon. I have written the following scripts to update your UserProfile tables to fix the problem if you need it (users of the Smart-Thinker UserProfile Location Search module will need it). I'll add any more countries as I find them (you will need to run this SQL periodically - there are a couple of new modules on the market that allow you to set SQL jobs, I'll set mine to once a month).

I suggest you understand the SQL below by first running this to see the problem - not you will need to change the value of propertydefinitionID (mine is 48 on PokerDIY.com) to the ID of the Country Property Definition on your site.

select * from userprofile where propertydefinitionID = 48 and propertyvalue = 'Iran, Islamic Republic of'

update userprofile set propertyvalue = 'Iran'
where propertydefinitionID = 48 and propertyvalue = 'Iran, Islamic Republic of'

update userprofile set propertyvalue = 'Macedonia'
where propertydefinitionID = 48 and propertyvalue = 'Macedonia, the former Yugoslav Republic of'

update userprofile set propertyvalue = 'Moldova'
where propertydefinitionID = 48 and propertyvalue = 'Moldova, Republic of'

update userprofile set propertyvalue = 'Taiwan'
where propertydefinitionID = 48 and propertyvalue = 'Taiwan, Province of China'
 

Hope this helps...


Entrepreneur

PokerDIY Tournament Manager - PokerDIY Tournament Manager<
PokerDIY Game Finder - Mobile Apps powered by DNN
PokerDIY - Connecting Poker Players

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Country List discrepancyCountry List discrepancy


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