Skip to content

localeSettings #4

@Eirik67

Description

@Eirik67

Hi, I noticed that the README file says:

let config = {
type: "report",
id: reportId,
embedUrl: embedUrl,
accessToken: embedToken,
tokenType: models.TokenType.Embed,
localeSettings: { language: "de-DE" }
};

But powerbi.js lib v2.23.1 expects the localeSettings to be a sub element of a settings element, as far as I can see.

Is the source code for the demo report https://multilanguagereportdemo.azurewebsites.net/ available anywhere?

I am currently not able to override the browser's language by using localeSettings in any way. Even not when adding &language=de-DE to the embedUrl direcly. The USERCULTURE() just does not get the overridden value (works fine when the report is opened in Power BI Service, though). Would like to see how it is done in the demo app!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions