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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

Change language dynamically in Reports

I never got a response in the Desktop section of this forum with this question, maybe because it's more of a development question. 

 

I need to be able to change the language in an embedded report, table/column headers, slicer titles and so on. 

I've seen a couple of ways of doing this but they all require duplication of data and I can't do it like that for this problem. I'm trying to solve this translation issue for an internal web application, which means that we have control over how the reports are built and what components in power BI desktop used. With these prerequisites, isn't it possible to handle the language using javacript ? I've just had a quick look at the DOM and done some simple tests and it seems like it could work. 

 

What I'm thinking of doing is for each component (table, slicer and so on) that we use in our reports I'll create some sort of selecter in javascript which extracts the values, i.e. for a table I'd extract the column headers, and pass them to my own translation service which returns the translated value and replaces the original value.

 

I thought that the same-origin issue would be solved by adding the embed url as a trusted source, but no. So I can't edit anything in the iframe. This was another dead end. 

0 REPLIES 0

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.