Question T14671
Visible to All Users

Dropdown is not localized

created a year ago (modified a year ago)

[Ticket cloned from T14665: Visualization html + dropdown]

Clipboard-File-2.png
Clipboard-File-2.png
2) the dropdown seems to be strange as it seem to have no translation and both values are the same, how can i hide it?

Answers approved by surveyjs Support

created a year ago

Hello,
This dropdown allows users to select another type of a visualizer for a given question.

You can localize a custom visualizer in this dropdown using the following code:

JavaScript
import { localization } from "survey-analytics"; localization.locales["en"]["visualizer_pollVisualizer"] = "Poll Visualizer"; localization.locales["de"]["visualizer_pollVisualizer"] = "Umfrage Visualizer";

I created the following demo for your reference: View Demo. In this demo, I unregistered the default Radiogroup visualizer and registered a custom Poll visualizer. Also, I changed the set dashboard locale to "de". Now, I don't see a visualizer selector.

Please let me know if you still see a visualizer selector with duplicate names.