Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7062891
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T04:38:55+00:00 2026-05-28T04:38:55+00:00

I have an ASP.NET 3.5 website. Why can’t I create a specific culture for

  • 0

I have an ASP.NET 3.5 website.

Why can’t I create a specific culture for the language Bokmal like this:

CultureInfo c = CultureInfo.CreateSpecificCulture("nb");

Language “en” works fine, it results in “en-US”. I thought that with “nb” I could do the same thing and get culture “nb-NO”. But with “nb” i get the error:

Culture nb is not supported.

I’ll explain why I needed it.

I retrieved a list of cultures: “nl-NL”, “nl-BE”, “nb-NO”, “fr-CH”, “fr-FR”
Want I wanted was a unique list of languages with the default cultures. So I create a list with unique languages which results in “nl”, “nb”, “fr”. Next thing I want the specific cultures but nb doesn’t work. I wanted this because the unique list selected nl-BE instead of the default nl-NL.

But then I’ll just stick with “nl-BE” when Dutch is selected and place the cultures in a unique cultures list. This list will result in “nl-BE”, “nb-NO”, “fr-CH”.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T04:38:55+00:00Added an answer on May 28, 2026 at 4:38 am

    You cannot assume that there is a correspondence between language names and parent-child relationships between CultureInfo objects. The hierarchy also depends on Windows version.

    According to the documentation for the NLS API, the “nb” culture exists on Windows 7, but not on Windows Vista.

    On my Windows 7 machine, the culture hierarchy for Bokmål is, in child to parent order

    • nb-NO
    • nb
    • no
    • Invariant culture

    In short, you should use the Parent property of the CultureInfo object, instead of doing string manipulations.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a asp.net web-service which I use from my ASP.NET website. I can
I have an asp.net website which contains a few pages that I'd like to
I know this is probably a simple question but, I have a ASP.NET WebSite
I have an ASP.net MVC website which is displaying numbers. Can I somehow determine
I have an asp.net website with a reference to a class library. I can
I have an asp.net website with a master-page, can I use the iframe so
I have a asp.net website in the umbraco cms, there I can use razor
I have asp.net mvc website and in some pages i need a paging feature,
I have a asp.net website hosted in IIS 5 and i don't have access
I have a ASP.Net website that is failing on AJAX postbacks (both with ASP.Net

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.