Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
~*
~*
/TranslationsBuilder/obj
/.vs
/TranslationsBuilder/bin
/TranslationsBuilder/TranslationsBuilder.csproj.user
/.gitignore
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# This fork

**Excel Export/Import**
- Translation Builder always use comma as a separator which is not convenient for Canadien French computers (where semicolon is used because comma is a decimal separator).
- This version use the ClosedXml open source libray to Export and Import Excel files. When exporting it creates a real table that is autosized by column content and can be sorted/filtered.

**Display Folder support**
- Fixed DisplayFolder bugs : import from CSV and directly in the UI grid.

**UI changes**
- Changed default shortcut keys to avoid Ctrl+C and Ctrl+S which are usually associated with Copy and Save.
- A wait cursor is shown when importing translations from Excel
- Always show descriptions for Tables, Columns, Measures and Hierarchies

# Translations Builder

Translations Builder is an external tool created for Power BI Desktop
Expand All @@ -17,4 +31,4 @@ Here are the primary links for learning how to build multi-language reports for
- [**Multi-language Report Live Demo**](https://multilanguagereportdemo.azurewebsites.net)
- [**Installation Guide**](Docs/Installation%20Guide.md)
- [**User Guide**](Docs/User%20Guide.md)
- [**Developer Guide**](Docs/Developer%20Guide.md)
- [**Developer Guide**](Docs/Developer%20Guide.md)
Binary file added SetupFiles/TranslationsBuilderInstaller.msi
Binary file not shown.
Binary file removed SetupFiles/TranslationsBuilderSetup.msi
Binary file not shown.
Binary file modified SetupFiles/setup.exe
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"version": "1.0",
"name": "Translations Builder",
"description": "Launch Translations Builder to add translations to yout data model.",
"path": "c:\\Program Files\\Translations Builder\\TranslationsBuilder.exe",
"path": "c:\\Program Files\\Power BI Translations Builder\\TranslationsBuilder.exe",
"arguments": "\"%server%\" \"%database%\"",
"iconData": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAOxAAADsQBlSsOGwAABSJJREFUaIHtmctzU1Ucxz/33qRN8+ojpEkTqrVAS1JApAwzAiICioLgiC50ZOPGP8EZV+6YYevKhQtlxkFxgXREhQXgDKDYDlWqQ2sL1cbSpk1bCKZ53+siJWloknvzaqczfFdJzjm/8/2e8z2/8wiscggAH39y6pTD3uRZ7s5j0TgTU9MnTn74wdlSY+gAHPYmz/G3Dm+vHDVtmPAH+Pz0uTXlxBArRWal8ETASkNXTuP+gUEAWt1O1jQ1VIRQsShLwA+XrgHw2r5dKyZg1Vto1QsoaKHA7H16LlxRDXKt9zf6/xjMWda5ro1dO7aWRE4LCgqIxxNMTs2oBgk+DBF8GMpZ5mwua59SRUEBxjoDWzd1FhXw3uQ0U4FZALZ4O2h1OUtnpwEFBdRbzRzav1tzMEVR+OzL1LFmrcvB6y+/UB47DdC8iH3jk/x195+CdYbvjjE9MwfAts3LczbUtA/cHBjkwuXr6CSJd948mNMWiWSSy9d6AWist+LpeKZgzERSpm8ogG/euufoR+eLJp6U5cD5k0fOahLgdtrR63TE4nG+PneRY4f20/60O6vO1Rv9zMw9AGDvru1IYv7JTSRlPv12gGDSSrt353HgeLECRkbu9AHaBDjsNt4+coAzPReJxeKc6bnI3p3d7HhuM6IoMPK3j5/7fgdgXVsrG9e3qZKPSDZsDZZieachLgyQ5jXQ1urivWOHqDMYkGWZS1d7+eJMDzdv3ebs95dQFDCbjBw+sBtBEFTJWyylk88SUkxld0sz7797lLUuB5C6kPx4+TrxeAKArs513H/wEFmWl7StBnko4SjRYLXwxqt7aahfSuLGzQFOffMdsqxk/V4t8qAxCymKQiQaxXfPz+DwKLeHR0kmU6PcYLXQbG/CNz5JOBJFkkQkKTMu1SSvKsA/PUvPhSvMhyOE5sNZZaIosm3zRl58vpva2hoURSE0HyYSiS4beVUBiiKnN6ZHMJuMeDva2f6sN8tGgiBgNhkxm4zA8pAHFQEmYx3dWzwYDLU01ltwNq/BbmvMm2UeQY380a1GNjiyu/7q1xDjc8nKCrCYTRx8aWdRAdXIG/QC7XbdkkHwuvQlCajohUaLbTqdenTS0hnscOiRSmBTMQFaPd/l1qc/D/vjKEoq5dbViLTbi7+iV0SAVvKNRpGWein9vXc0ij+YsY2npabovssWUEy28br1ae//F5GZuJ9k2J9Il7c366jVFU4Qj6MsAcWmyi5XZoRHpuIoZNtIJwp0OvV5WueGDhZeif2BohoC9A0FCCatmk6VrU0SFkNmdB+N/GxIZjYkYzOnrOV16bn1b0wzBx3AxNT0iVJeiX3z1j0L53lVdLlq0vaJxGV8sxnrDPvjaQHuRglrnUAwrOSM8zh0AKW+zy/cpFQF6CXYsMgawbDCpkXZaHFaFQQBb0sNv9yNogVlPS1qxXqHPmtxNlslXtlkzFvf49JrFrAsL3NdruIWZpNJxGGV1CuyDALMBoGnbMVNtCAIeDWKrrqFvC01iIvOPT8NhRmbyX3mOdZtxFSbGtONLXquDEVQVNZy9QUsWqwJWeGWL0Y0kbvunakEW1pTe4WpVqTNpmM0kKfyAqpqIYdVwmbKdOGbSeQlD6l0uhgeDTaq6gy4GiT8wcwF/8/xeIHaMDaTYHwugSSmLGcxiIgCyAVsVFUB/WMx+se076pJBU7fyP3KnQ+r/g+OJwJWGqteQFmLOCnLgZGRO31igZfoaiEUCuX+U2614X/iVOfIxR9TaAAAAABJRU5ErkJggg=="
}
4 changes: 2 additions & 2 deletions TranslationsBuilder/Forms/FormEditDefaultTranslation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public FormEditDefaultTranslation(string objectType, string propertyName, string
}

private void btnUpdate_Click(object sender, EventArgs e) {
TranslationsManager.SetDatasetObjectTranslation(ObjectType, PropertyName, ObjectName, Language, txtTranslation.Text);
TranslationsManager.SetDatasetObjectTranslation(ObjectType, PropertyName, ObjectName, Language, txtTranslation.Text, saveModel:true);
this.DialogResult = DialogResult.OK;
this.Close();
}
Expand All @@ -48,7 +48,7 @@ private void btnCancel_Click(object sender, EventArgs e) {

private void btnRevertToDefault_Click(object sender, EventArgs e) {
txtTranslation.Text = DefaultTranslationFromObjectName;
TranslationsManager.SetDatasetObjectTranslation(ObjectType, PropertyName, ObjectName, Language, DefaultTranslationFromObjectName);
TranslationsManager.SetDatasetObjectTranslation(ObjectType, PropertyName, ObjectName, Language, DefaultTranslationFromObjectName, saveModel:true);

}
}
Expand Down
2 changes: 1 addition & 1 deletion TranslationsBuilder/Forms/FormEditTranslation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public FormEditTranslation(string objectType, string propertyName, string object
}

private void btnUpdate_Click(object sender, EventArgs e) {
TranslationsManager.SetDatasetObjectTranslation(ObjectType, PropertyName, ObjectName, Language, txtTranslation.Text);
TranslationsManager.SetDatasetObjectTranslation(ObjectType, PropertyName, ObjectName, Language, txtTranslation.Text, saveModel: true);
this.DialogResult = DialogResult.OK;
this.Close();
}
Expand Down
Loading