Closed MohitGargMSFT closed 5 years ago
@rpetrusha, please make sure this one gets assigned soon.
I've asked @mohit14mar to file this one. I need to follow up with the product team to see if there's a good replacement for this. It could be https://github.com/Microsoft/WPF-Samples/tree/master/Globalization%20and%20Localization/BAML%20Loc.
@SamBent @sachingo can you guys help us find where the LocBaml tool is now located or if it was deleted? Our old link http://go.microsoft.com/fwlink/?LinkID=160016 no longer works. My guess would be https://github.com/Microsoft/WPF-Samples/tree/master/Globalization%20and%20Localization/BAML%20Loc.
Hi I found the original source code of the locbaml tool on github. However, I am not sure whether the author published these sources on behalf of Microsoft or “by accident”. I don’t want to get this person into trouble by pointing at him/her. Therefore, just search for “locbaml” in github and you find it.
Is there a license for the locbaml tool? The source files are only annotated with “Copyright (c) Microsoft Corporation. All rights reserved.“ And no license information seems to be available.
@rabanti-github if you're talking about the one I pointed earlier (https://github.com/Microsoft/WPF-Samples/tree/master/Globalization%20and%20Localization/BAML%20Loc), that repo has an MIT license.
The one I could find on GitHub (https://github.com/JeremyDurnell/locbaml) doesn't seem official.
@SamBent can you confirm which link should we use to replace https://archive.msdn.microsoft.com/Project/Download/FileDownload.aspx?ProjectName=wpfsamples&DownloadId=9333? Does my suggestion to point to https://github.com/Microsoft/WPF-Samples/tree/master/Globalization%20and%20Localization/BAML%20Loc sounds good?
The unofficial project seems to be originating from Microsoft. I assume it was the old locBaml sample project mentioned (among others) in: https://docs.microsoft.com/en-us/dotnet/framework/wpf/advanced/how-to-localize-an-application. All described features in this tutorial seems to be implemented in this unofficial project.
The other project seems however not to be a proper replacement. https://github.com/Microsoft/WPF-Samples/tree/master/Globalization%20and%20Localization/BAML%20Loc/LocApp has almost no content when it comes to code. It is only a WPF window with two text blocks. Localization features are not even implemented there. Is it planned to update this project?
I am a little bit clueless at the moment.
Edit: Maybe just to clarify.
Currently, almost all available tutorials (provided by Microsoft, as well as independent pages) in English, regarding WPF localization are pointing on the discussed locBaml example project as way to go for application localization. And this example is not available anymore officially. Thus, at the moment, the whole documentation about WPF localization is technically not available, not applicable, respectively.
I am not asking to add the source code of https://github.com/JeremyDurnell/locbaml to the official Microsoft repository. It just looks like this git repository is the only available source code in the Internet beside a further copy discovered on a Chinese coding board.
The easiest way to resolve this problem would be to search for the old source code (of the locBaml example) in the Microsoft archives and to re-publish it officially. If a new example project is introduced, all existing tutorials regarding localization are outdated and must be updated as well.
I'm marking this one as blocked. @vatsan-madhavan could you help us figure out if we published or intend to publish this LocBaml tool sample? Please see issue history for more context.
/cc @OliaG
Sorry for missing this thread for several days.
Would you mind opening an issue for this at https://github.com/dotnet/wpf - asking for LocBaml to be published ?
LocBaml is part of WPF's test corpus - and would have eventually made it out to the open. I don't think we planned on putting it out anytime soon, but we can look into the feasibility of doing so. I know there is interest in one other tool from our test corpus (the VS team would like BamlReflector to be open-sourced sooner, for e.g.).
No worries @vatsan-madhavan. Issue filed: https://github.com/dotnet/wpf/issues/498
Fix Link to Sample Application in Microsoft Document
Regarding this document - https://docs.microsoft.com/en-us/dotnet/framework/wpf/advanced/how-to-localize-an-application
in above document , in Create a Sample Application section Link to LocBaml Tool Sample does not work
edit by @mairaw: added docs info below
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.