Posted By Daniel Valadas on 8/14/2024 10:50 PM Well, in the forum implementation of TokenReplace you can define a LocalizationPropertyAccess class that will handle the RESX PropertySource and do localization and then call the ReplaceTokens method once to do everything.
This would be my recommendation -- let me know if you agree, and I can put in a PR?
1. Capture the original token, and pass to replacedTokenValue function:
2. Return the original token rather than string.Empty when a match isn't found
I am not sure I understand what you mean by that.
These Forums are for the discussion of the open source CMS DNN platform and ecosystem.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.