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 8556287
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T15:18:48+00:00 2026-06-11T15:18:48+00:00

I’ve a website and I need to display some language name in the current

  • 0

I’ve a website and I need to display some language name in the current culture, based of the two character language name.

E.g. I need to display when the culture is FRench:

  • fr -> Français
  • en -> Anglais
  • de -> Allemand

In German(de) culture

  • fr -> Français
  • en -> Anglais
  • de -> Allemand

…

The currentThread culture is already correct(meaning that I’m in “FR” localization).

The problem is that if I’m in the french culture and I do:

System.Globalization.CultureInfo.GetCultureInfo("de")

I receive this object:

Calendar: {System.Globalization.GregorianCalendar}
CompareInfo: {CompareInfo - de}
CultureTypes: NeutralCultures | InstalledWin32Cultures | FrameworkCultures
DateTimeFormat: {System.Globalization.DateTimeFormatInfo}
DisplayName: "German"
EnglishName: "German"
IetfLanguageTag: "de"
IsNeutralCulture: true
IsReadOnly: true
KeyboardLayoutId: 7
LCID: 7
Name: "de"
NativeName: "Deutsch"
NumberFormat: {System.Globalization.NumberFormatInfo}
OptionalCalendars: {System.Globalization.Calendar[1]}
Parent: {}
TextInfo: {TextInfo - de}
ThreeLetterISOLanguageName: "deu"
ThreeLetterWindowsLanguageName: "DEU"
TwoLetterISOLanguageName: "de"
UseUserOverride: false

And I wished that the display name is in the current locale(So “Allemand”).

I’m sure it’s possible, am I missing a language pack? At which level? Windows? ASP? MVC? Or should I use a different code?

  • 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-06-11T15:18:50+00:00Added an answer on June 11, 2026 at 3:18 pm

    The .NET Framework does not provide what you are asking for (i.e. the name of a culture in an arbitrary language). The properties EnglishName and NativeName are self-explanatory. As for DisplayName, this gives you the name of the culture in the language of your system (so if you’re running the .NET Framework in French, you’ll get “Allemand”–if you’re running it in English, you’ll get “German”).

    To clarify this last point, the .NET Framework itself has been localized into a number of languages, and you can get localized versions of the .NET Framework by downloading language packs (e.g. http://www.microsoft.com/en-us/download/details.aspx?id=3324 for .NET 4.0). If you do this then what DisplayName gives you will depend both on your system’s locale and on whether or not a language pack for the corresponding language is installed. In any case, I don’t believe that you can rely on this for your scenario as you can’t dynamically switch the system locale.

    Update: I forgot to mention the solution in case it’s not obvious: You can add your list of languages to your localizable resources alongside all your other user interface strings, i.e. include strings “French”, “English” and “German” which for example your French translator will localize as “Français”, “Anglais”, “Allemand”.

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

Sidebar

Related Questions

In my XML file chapters tag has more chapter tag.i need to display chapters
I am trying to understand how to use SyndicationItem to display feed which is
I used javascript for loading a picture on my website depending on which small
I have just tried to save a simple *.rtf file with some websites and
link Im having trouble converting the html entites into html characters, (&# 8217;) i
For some reason, after submitting a string like this Jack’s Spindle from a text
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I have this code to decode numeric html entities to the UTF8 equivalent character.
I have a French site that I want to parse, but am running into
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this

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.