I am working on a SharePoint Enterprise server 2013 . and i have an event receiver which get fired when an item is updated, and the event receiver will create a new sub-site using the following line of code:-
SPWeb newSite = spCurrentSite.Webs.Add(
curItemID,
curItemSiteName,
"created automatically after adding a new project item",
Convert.ToUInt16(1033),
webTemplate,
false,
false
);
newSite.Update();
now our customer is a UK-based company ,, so i am not sure if i need to pass the local id = 2057
instead of 1033
as per the local ID table https://msdn.microsoft.com/en-us/library/ms912047%28WinEmbedded.10%29.aspx?f=255&MSPPError=-2147217396 .
now to be honest i am not very familiar with locals, but when i checked the "Central Admin" >> "Upgrade and Migration" >> "check product and patch installation status", i got three rows mentioned that the language is 1033:-
so does this mean i should pass localID = 1033
when creating a new subsite inside my above code?
second question. i have test the above code and on the new sub-site which get created , i checked its regional setting (sub-site>>Site Setting>>Site administration >> Regional Settings) , and i got the following :-
now since i am passing the localID as 1033
so i thought the regional setting for the sub-site will be "US" not "UK"..but seems the new sub-site got the same regional settings as its parent site (which is UK).
Third question is the local id something that i can chnage in the future for my sub-site ? or it can only be set once the sub-site is created (in my case it is created using the above line of code inside the event receiver )??
can anyone advice on the above 3 questions,as i am totally confused if i really have a problem or there is not any thing i should worry about regrading my Locals ?? Thanks