Forum Discussion
Unable to implement localization within a Custom Visual
- 3 years ago
Hi timseltman - are you looking at the developer visual or the packaged visual? Historically, this has only worked when you package the visual and test that.
It looked like they recently made a change in powerbi-visuals-tools 4.0.7 to try and support this, but quickly rolled it back due to vulnerabilities, so may appear again in the near future.
Regards,.
Daniel
Hi timseltman - are you looking at the developer visual or the packaged visual? Historically, this has only worked when you package the visual and test that.
It looked like they recently made a change in powerbi-visuals-tools 4.0.7 to try and support this, but quickly rolled it back due to vulnerabilities, so may appear again in the near future.
Regards,.
Daniel
After testing this morning, you are correct. It appears that in order to test if the localization is working, I have to package the visual and test it as if it is the final product. It does not appear that the description key is working though (nothing happens when I hover over the labels; even though I have set up description keys for each), so I may have to default that to English for the time being. But otherwise this just adds to the testing of the program. Either way this answers my question. Hopefully in the future, description keys work properly and we are able to test localization in developer view.
Edit: after further testing, the hovering appears to be weird when using English. In Spanish, the hover works just fine, but not so in English. Nothing appears when I hover over the labels. Not sure if it is a bug or what.