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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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