This project is read-only.

How to add culture from recipe?

Topics: Administration, Localization
Aug 20, 2013 at 5:51 PM
Edited Aug 20, 2013 at 5:51 PM
We have a recipe that configures all the schema and content of our site. The site is configured with the culture "sv-SE". In the recipe there is an attribute for this:
<SiteSettingsPart SiteCulture="sv-SE" ... />
This attribute has no effect, because "sv-SE" is not configured by default as one of the "allowed" or "added" cultures in an Orchard site. Only "en-US" is in this set by default.

So my question is, how do I do that from a recipe?

I have tried exporting the full site including all metadata, data and settings, but it seems the set of allowed cultures for a site is nowhere to be found in the resulting XML...
Aug 21, 2013 at 3:00 PM
There is a command to set the site culture, and it is supposed to add it to the available culture as of version 1.6.1.
Aug 21, 2013 at 3:25 PM
Ah, perfect! Thank you @kassobasi.