Get Windows first language intalled in C# RRS feed

  • Question

  • <p style="padding-right:0px;padding-left:0px;border:0px;font-family:Arial, 'Helvetica Neue', Helvetica, sans-serif;line-height:inherit;font-size:15px;vertical-align:baseline;box-sizing:inherit;clear:both;caret-color:#242729;color:#242729;">How can I get the first installed language using c# ? I've tried using "System.Globalization.CultureInfo.CurrentCulture" but it always returns English I want to get Italian.</p><p style="padding-right:0px;padding-left:0px;border:0px;font-family:Arial, 'Helvetica Neue', Helvetica, sans-serif;line-height:inherit;font-size:15px;vertical-align:baseline;box-sizing:inherit;clear:both;caret-color:#242729;color:#242729;"></p><p style="padding-right:0px;padding-left:0px;border:0px;font-family:Arial, 'Helvetica Neue', Helvetica, sans-serif;line-height:inherit;font-size:15px;vertical-align:baseline;box-sizing:inherit;clear:both;caret-color:#242729;color:#242729;"><img alt="" src="" /></p>
    Monday, October 15, 2018 7:50 PM

All replies

  • Please get rid of all the formatting so we can read your thread.

    Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.
    VB Forums - moderator
    profile for Karen Payne on Stack Exchange, a network of free, community-driven Q&A sites

    Monday, October 15, 2018 9:21 PM
  • Hi Luca Fagan,

    Thank you for posting here.

    For your question, does the Italian installed in the first position of preferred language?

    If yes, you could try the code below.

    var languages = InputLanguage.InstalledInputLanguages;

    Best Regards,


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact

    • Proposed as answer by Stanly Fan Thursday, October 18, 2018 9:22 AM
    Tuesday, October 16, 2018 2:16 AM