Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
blumi78
Helper I
Helper I

Where does LocalizationManager read it's content from?

According to https://github.com/Microsoft/PowerBI-visuals/blob/master/Visual/Locale.md, the properties panel gets localized in

 

./stringResources/<lang_key>.json

 

and the visual content can be localized since API 1.10 using the LocalizationManager, whose read its strings from

 

./stringResources/<lang_key>/resources.resjson

(<lang_key> is the ISO region code like "en_US").

 

While this seems to be true, I found out by accident, that the LocalizationManager also has no problem finding the strings in the first location.

I appreciate having just one file per language for all the strings and would like to know if it's okay to put everything in "./stringResources/<lang_key>.json" ?

1 ACCEPTED SOLUTION
v-viig
Community Champion
Community Champion

We recommend to use resjson format only since Format Panel and localization manager work fine with this approach.

You can also check how we localize in-house visuals.

 

Ignat Vilesov,

Software Engineer

 

Microsoft Power BI Custom Visuals

pbicvsupport@microsoft.com

View solution in original post

1 REPLY 1
v-viig
Community Champion
Community Champion

We recommend to use resjson format only since Format Panel and localization manager work fine with this approach.

You can also check how we localize in-house visuals.

 

Ignat Vilesov,

Software Engineer

 

Microsoft Power BI Custom Visuals

pbicvsupport@microsoft.com

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.