Vulnerability in EPiServer.Forms
I'm trying to extend Episerver.lab.language add-on. Basically, I want to add new properties to the Provider settings section of it.
So did anyone implement this I need to add a new property and its method so which interface should I implement to make it work?
If I remember right the Langugae Add-On is made up of some internal services.
You should probably start by looking at some of the Optimizely code for the langauge add on and seeing where you should start.
Some interfaces your should look at are:
Thank you for replying but MachineTranslatorProvider has only the Translate method in it. So I don't think we can use it.
I wanted to add extra property where I'll show how many characters have I translated so I need to show the property in UI named CharacterLimit somehow I need to add this to the Provider Setting of language manager.
Code sample will be great also.
I don't think i fully understand your requirement:
Are you looking to display the number of characters translated or set the number of characters / words you want to translate?
If you want a character count would something like this help?
If you want to add new settings you can implement you own ITranslatorConfig with your additional settings and use these in the implemenation of IMachineTranslator.
You could pull the settings from a separate settings content type / appsettings, up to you really how you want to implement it.
Maybe provide some screengrabs of what you want to update.