Today, it takes a lot of effort to implement localization in dnn. It is not difficult to display localization at the module level. Because the function of the module we developed is complicated, we divide its sub-functions into user control for implementation. Now we need to implement localization for user control.
See the dnn documentation as follows:
Normal dnn controls will inherit fromPortalmodulebase, Which has built-in support
For localization. If the module contains any extra user controls they shocould inherit from
UsercontrolbaseTo be able to use the same localization features. There is also
Pagebase class that can be used to provide localization to any extra ASPX page
Module contains.
However, usercontrolbase does not help us implement Localization on the custom control. After searching, we foundModuleusercontrolbaseCan be used to implement localization.