Professional Documents
Culture Documents
Problem Statement: Need to implement translations for all the PCF Controls used in KornFerry
Project.
Microsoft Dynamics Suggested Solution: Making separate resource files for all PCF Controls
which cannot be altered after the package has been imported into the solution.
Here we need to use individual .resx (resource) files, wherein we maintain XML entries for all
languages. For each language, we create individual resource files and for each control, this
method was not very convenient, as managing these many resource files would be very difficult.
Key Findings:
● There are ways by which a web resource can be dynamically uploaded to
Dynamics CRM
● Similar to the Resource File approach suggested by dynamics, we can use any
XML file to read the translations and update the web page according to the
language of the system.
● In MS-Dynamics, there is a Language ID set for each language and it gets
updated when a user switches to any other language.
● It is possible to dynamically fetch a web resource and parse its data internally in
a PCF Control.
Then all these findings were used to get a solution which would not require resource files inbuilt
in PCF Controls but would retrieve them dynamically and work as required.
Uploaded:
German Resource File:
References:
https://dynamicsninja.blog/2020/01/21/pcf-localization/
https://community.dynamics.com/
https://docs.microsoft.com/en-us/dynamics365