You can add a custom language with local combinations to CMS for your site.
Optimizely Content Management System (CMS) determines the available languages based on those installed on the host operating system. Available languages can present a problem because they vary between different machines.
To accommodate specific needs, you can programmatically create and enable custom languages in CMS, such asen-SE for English in a Swedish market to tailor language settings to your specific requirements.
The following code shows how to add a custom language.
ILanguageBranchRepository _repository // Resolved via dependency injection _repository.Save(new LanguageBranch(new CultureInfo("xx-YY") { Name = "My custom language", UrlSegment = "xx-yy", Enabled = true }));