Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The assets in Digizuite DAM for Sitecore packages support English when installed. To add a new language go through the following processes:

  1. Create a new silo language and synchronize it. 
    1. Note that, if the language does not exist in the Digizuite DAM Center, then English will be synchronized instead as a fallback language.
  2. Add the language to all DAM for Sitecore related items in the core database.

1. Create a new silo language

  1. On the DAM Center, make certain that you have the language added already. If not, then add it, and recycle the DAM Center.
  2. Go to the Content editor on the master database.
  3. Navigate to sitecore → Media Library → Digizuite.
  4. Select the asset silo.
  5. In the ribbon under the tab DAM FOR SITECORE, click the language button.
  6. Click more languages and select the language to add.
  7. Click the Content tab and click Add a new version
  8. Now click the Synchronize Silo button.
  9. Now all the configuration and metadata will be fetched for the new language.

...

/sitecore/client/damforsitecore/DamExplorer?sc_lang=da
/sitecore/client/damforsitecore/DamExplorer?sc_lang=en

2. Add a language version on DFS related item to the core database

DAM for Sitecore only supports English and Danish out of the box. To enable support for additional languages, the language versions have to be added to all DAM for Sitecore related items in the core and master database. Please add the language to all these items + subitems.

Core database

Info

/sitecore/client/DamForSitecore
/sitecore/client/Applications/Launchpad/PageSettings/Buttons/ContentEditing/DAM for Sitecore Explorer
/sitecore/content/Applications/Content Editor/Ribbons/Contextual Ribbons/Digizuite/Digizuite
/sitecore/content/Applications/Content Editor/Ribbons/Contextual Ribbons/Digizuite/Digizuite/Synchronization
/sitecore/content/Applications/Content Editor/Ribbons/Contextual Ribbons/Digizuite/Digizuite/Synchronization/Synchronize Asset Silo
/sitecore/content/Applications/Content Editor/Menues/Digizuite/Synchronize configuration
/sitecore/content/Applications/Content Editor/Menues/Digizuite/Synchronize assets
/sitecore/system/Dictionary/DamForSitecore
/sitecore/system/Field types/DamForSitecore
/sitecore/system/Settings/Html Editor Profiles/Rich Text Default/Toolbar 1/dfsexplorer
/sitecore/system/Settings/Html Editor Profiles/Rich Text Default/Toolbar 1/dfsexplorerlink
/sitecore/system/Settings/Html Editor Profiles/Rich Text Default/WebEdit Buttons/Open DamExplorer
/sitecore/system/Settings/Html Editor Profiles/Rich Text Default/WebEdit Buttons/Link to Asset

Master database

...

support metadata language versioning. In Sitecore the DAM for Sitecore connector can synchronize these metadata languages. The connector can be setup in 2 ways.

  1. You always sync in one language against Digizuite, fetching metadata in one language, no matter how many languages you support in Sitecore. This is the deafult setting. Will sync in english.
    In the config file App_Config → Include → damforsitecore → DFS.Settings.config you set this setting <setting name="DFS.OnlySyncAssetsInDefaultLanguage" value="true" /> to true.
    You can control the default language to sync with these settings:
    <setting name="DFS.Digizuite.Default.LanguageId" value="3" /> This is the languageId from Digizuite. Ask Digizuite for the id, if you want to use another then english.
    <setting name="DFS.AssetSilo.Default.Language" value="en" /> This should be the one from Sitecore.Globalization.Language.CultureInfo.Name.

  2. You sync against Digizuite with the supported metadata languages.
    In the config file App_Config → Include → damforsitecore → DFS.Settings.config you set this setting <setting name="DFS.OnlySyncAssetsInDefaultLanguage" value="true" /> to false.
    The next thing is to tell the DFS connector the language mapping between Sitecore and Digizuite. Look for this section:

    Code Block
    <DFS.LanguageMapping>
      <add name="en" digizuiteLanguageId="3" />
      <add name="da" digizuiteLanguageId="1" />
    </DFS.LanguageMapping>

    It is important that you map the Sitecore language name with the Digizuite langaugeid. The name property for the Sitcore language should be the one from this api Sitecore.Globalization.Language.CultureInfo.Name.
    The digizuite languageId can be retrived by the Digizuite team. In this example we synchronize danish and english metadata.

Info

If you have a content page in a language that is not supported in Digizuite and has not been added to the languageMapping, it will then fallback to the default language.