DFS 10.4.0 - Optimize your DFS silo by limiting it to only one language
In the case that your DAM Center (DC) is only set to one language ("English" in this example) while your Sitecore is set up to use multiple languages (English, Danish, and German in this example) you will experience that a lot of duplicate items in your silo.
You will have 3x the items in your silo in this example, due to the 3 additional languages. Meaning that given that you have 50,000 assets, you'll have 150,000 items, as you need one for each language.
To circumvent this inefficiency, you can use this guide, to limit your DFS to only have the same amount of items as you have assets in the DC.
Please be aware, that in the case that your DC has more than one language, enabling this feature will now prevent you from accessing assets and metadata of these other languages.
Steps to enable:
- Access the following file /Website/App_Config/Include/damforsitecore/DFS.Settings.config. (If you have a file that overwrites DFS.Settings.config it's best practice to configure this other file instead.)
- Set the following setting to the language you so choose - here we use "en" to indicate "English":
<setting name="DFS.LanguageOverride" value="en" />
- Save your changes.
Steps to disable:
- Perform the same steps like the ones to enable the feature, but instead of "en" - leave it blank and save it.
The language abbreviations (like "en") are following the standard Sitecore language abbreviations.
OLD
Hardcode which language DAM for Sitecore silos should use
In Dam for Sitecore, it is possible to have the asset silo synchronized in only one language, while still being able to use it on multiple item languages.
To enable this feature change the following setting in the file /Website/App_Config/Include/damforsitecore/DFS.Settings.config.
By default, this feature is set to "en" (for "English"). To disable it leave the value empty.
<setting name="DFS.LanguageOverride" value="en" />
Let's say that your Digizuite DAM Center (DC) only contains assets and metadata in English, but your Sitecore is in multiple languages.
Due to the disparity between the languages in your Sitecore and your DC, not enabling this feature will course the inserted assets to not be able to load, when accessing these assets in an unsupported language.
Therefore, in this case, it is recommended that you set DFS.LanguageOverride to "en".
The language abbreviations (e.g. "en") are following the standard Sitecore language abbreviations.