PowerBiDevCamp / TranslationsBuilder

An external tool for Power BI Desktop to manage translations and localization for Power BI datasets and reports.
MIT License
35 stars 19 forks source link

DisplayFolder cannot be edited/imported in Translations Builder #27

Open samsonfr opened 2 months ago

samsonfr commented 2 months ago

I can edit the DisplayFolder translation using Tabular Editor (see "Display Folder Test[Column1]Folder1") but it cannot be done in the Translations Builder UI nor imported from a CSV.

It seems to be a problem in method TranslationManager.UpdateDisplayFolderForTable.

It gets the folder name from GetChildName that return the ColumnName part instead of the FolderName.

Format: TableName[ColumnName]FolderName

So for "Display Folder Test[Column1]Folder1" it returns "Column1" instead of "Folder1"

It never matches the condition: if (column.DisplayFolder.Equals(folderName)) {

image

image

Is it actively maintained? I can provide a sample PBIX but this interface doesn't allow it.

Thanks,

Frederick

samsonfr commented 2 months ago

I created a fix on https://github.com/samsonfr/TranslationsBuilder if you are interested. Tool will show "Translations Builder 2.2.1" in it's title.

image

I also created a pull request in this official repo with my fix, but I don't know if anyone will look at it.

Best regards,

Frederick