formio / formio.js

JavaScript powered Forms with JSON Form Builder
https://formio.github.io/formio.js
MIT License
1.87k stars 1.06k forks source link

Strings containing HTML elements are not translated #5824

Open Rishikap123 opened 1 week ago

Rishikap123 commented 1 week ago

Describe the bug Strings containing HTML elements are not translated

Version/Branch Formiojs - 4.14.6 To Reproduce Steps to reproduce the behavior: 1.Setup form builder along with Localization. 2.Select any language other than English (For Example : French). 3.Drag and drop the Text Field and Hover over the tool tip of Input Mask field. 4.The String in the tool tip is not translated. Note: The tool tip string is localized and properly added to the i18n. Expected behavior The string in the tool tip must be translated.

Example: This is the permalink of formio code.

Similar to this component other components containing the HTML elements are also not translated even after localization.

Attached an example below.

In this example the Text Field is Localized in French language. The strings are properly translated but the tool tip containing the HTML elements is not translated.

image

lane-formio commented 1 week ago

Before I ask someone to take a look on our end, have you tried later versions? formiojs@4.21.4 and/or formio/js@5.0.0-rc.84