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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.