How to create custom translations for DocumentsCorePack dialog
Please note: English and the user language is per default available.
Requriements: DocumentsCorePack for MS CRM 2013 (former AutoMerge), basic .xml knowledge and the AutoMergeGlobalButton Solution v2013.42 or higher.
Step-by-step: How to create the language for DocumentsCorePack dialog:
1. Open your ❶ Dynamics 365 and navigate to ❷ Advanced Settings > ❸ Customization > ❹ Customize the System
Figure 1: Settings > Customizations > Customize the System
2. This window opens. Select in the tree view Web Resources and search for xml (Display name: DCP Dialog Localization).
3. This window opens. Now click on the Text Editor
Figure 3: DCP Dialog Localization – Text Editor
4. This window opens.
5. Next, copy the whole Web Resource content into e.g., Notepad++, duplicate a full translation node and insert the existing default one and change the ❶ LCID code as well as ❷ the text to the required language. Find here a list of Microsoft Locale ID values.
Figure 4: Full translation node inserted at the End of the already existing one.
6. Add now a new Web Resource. Click on the [New]-button in your opened “Web Resource”- window and add the required information
- Name: NewLanguage_Italian
- Display Name: Language_Italian
- Type: Data (XML)
Figure 5: Add new Web Resource
7. Press the [Text Editor]-button, to insert the new Language .xml-file, we created earlier.
Please note: There are two default language-xml (English and German) plus the newly added language (Italian).
Press the [OK]-button.
Figure 6: Open Text Editor to add new language xml
8. Now ❶ Save and ❷ Publish your new web resource.
Figure 7: Save and publish new web resource
Please note: Save the unique name (NewLanguage_Italian) for further purposes!
9. Now we need a Settingskey. Learn “How to create a SettingsKey manually in MS Dynamics” here.
Define the settingskey values as follows
- Name*: CustomLanguageFileWebResourceName
- IsCached*: Yes
- KeyValue: NewLanguage_Italian
Do not forget to save and close the Settingskey once it is created! As a result, the newly added Settingskey is visible in the product overview:
Figure 8: New created SettingsKey
10. Now activate the language for your Dynamics 365 use:
Navigate in your Dynamics 365 to Settings > Administration > Languages.
Figure 9: Settings > Administration > Languages
11. Check the checkbox in front of the newly added language (Italian). Click the [Apply]-button to continue.
12. Activate the new language:
Refresh the page and activate the language you have just added (Italian). Therefore, select the Options in your Dynamics 365.
Figure 11: Dynamics 365 Options
13. Navigate to the “Languages”-tab and select the language to be set as user interface language.
Press the [OK]-button.
Figure 12: Set Personal Options
That’s it! We appreciate your feedback! Please share your thoughts by sending an email to firstname.lastname@example.org.