When creating a new SharPoint Online web using CSOM .Net, I have to provide a valid LCID for Language property in WebCreationInformation object (when not using default). Is there a way of retrieving a list valid LCIDs from the server or do I have to hard-code this list in my app?

1 Answer 1


Try this one. May be it can help you

  SPLanguageCollection lang = SPRegionalSettings.GlobalInstalledLanguages;

  foreach (SPLanguage language in lang)
         Console.WriteLine(format, language.LCID, language.DisplayName);

Ref: Link

  • 1
    He wants CSOM not SSOM.
    – Akhoy
    Aug 24, 2015 at 13:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.