Sitecore XP uses the Dictionary Translation functionality to translate text and messages in Sitecore Client. It lets you create site-specific Dictionary Domains to store custom translations. A dictionary domain is associated with a site using the dictionaryDomain attribute, for example:
<site name="website" enableTracking="true" virtualFolder="/" physicalFolder="/" rootPath="/sitecore/content" startItem="/home" language="en" database="web" domain="extranet" dictionaryDomain="{856749EF-66B6-4C6A-902F-772AC2D81CEF}" ... />
The dictionaryDomain attribute can contain the ID of a Sitecore item that stores custom translations.
If the item name is used instead of the ID, Sitecore XP has to scan the whole database to locate the item with the specified name. Such a scan would be performed every time the Sitecore.Globalization.Translate.Text method runs and might lead to increased resource consumption both at Sitecore XP and the SQL Server side.
Make sure that the Dictionary Translation functionality is not used for content translation. Use item versioning to store language-specific content. Use custom dictionary domains to translate text in custom Sitecore Applications used in Sitecore Client. Review custom Sitecore configuration and ensure that ID of Dictionary Domain item is used instead of its name. For example:
<site name="Website” … dictionaryDomain="DictionaryDomainName" …/>
can be replaced with
<site name="Website” … dictionaryDomain="{39526EE9-F08D-494D-B9DC-C5792DF558F3}" …/>