L10NSharp.ExtractXliff
8.0.0-beta0021
See the version list below for details.
dotnet add package L10NSharp.ExtractXliff --version 8.0.0-beta0021
NuGet\Install-Package L10NSharp.ExtractXliff -Version 8.0.0-beta0021
<PackageReference Include="L10NSharp.ExtractXliff" Version="8.0.0-beta0021" />
paket add L10NSharp.ExtractXliff --version 8.0.0-beta0021
#r "nuget: L10NSharp.ExtractXliff, 8.0.0-beta0021"
// Install L10NSharp.ExtractXliff as a Cake Addin #addin nuget:?package=L10NSharp.ExtractXliff&version=8.0.0-beta0021&prerelease // Install L10NSharp.ExtractXliff as a Cake Tool #tool nuget:?package=L10NSharp.ExtractXliff&version=8.0.0-beta0021&prerelease
Extract static strings from one or more C# assemblies (either .dll or .exe)
and save them as XLIFF file.
Learn more about Target Frameworks and .NET Standard.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
8.0.0 | 111 | 3 days ago |
8.0.0-beta0023 | 107 | 3 days ago |
8.0.0-beta0021 | 108 | 3 days ago |
8.0.0-beta0013 | 187 | 8 days ago |
8.0.0-beta0005 | 99 | 9 months ago |
8.0.0-beta0004 | 99 | 5/10/2024 |
8.0.0-beta0003 | 84 | 4/19/2024 |
7.0.1-beta0001 | 99 | 4/15/2024 |
7.0.0 | 357 | 11/6/2023 |
7.0.0-beta0013 | 194 | 11/3/2023 |
7.0.0-beta0011 | 524 | 3/17/2023 |
7.0.0-beta0010 | 298 | 3/13/2023 |
6.1.0-beta0009 | 239 | 3/13/2023 |
6.1.0-beta0008 | 290 | 12/9/2022 |
6.1.0-beta0007 | 296 | 12/9/2022 |
6.0.1-beta0002 | 294 | 11/23/2022 |
6.0.0 | 394 | 11/23/2022 |
6.0.0-beta0018 | 318 | 11/21/2022 |
6.0.0-beta0017 | 351 | 10/7/2022 |
6.0.0-beta0015 | 310 | 8/24/2022 |
6.0.0-beta0013 | 291 | 8/24/2022 |
6.0.0-beta0003 | 368 | 7/12/2022 |
5.0.0 | 497 | 7/8/2022 |
5.0.0-beta0098 | 336 | 7/8/2022 |
5.0.0-beta0097 | 378 | 7/8/2022 |
5.0.0-beta0094 | 340 | 6/2/2022 |
5.0.0-beta0092 | 344 | 5/31/2022 |
5.0.0-beta0090 | 385 | 5/19/2022 |
5.0.0-beta0088 | 333 | 5/17/2022 |
5.0.0-beta0086 | 341 | 4/12/2022 |
5.0.0-beta0082 | 366 | 4/11/2022 |
5.0.0-beta0080 | 592 | 3/9/2022 |
5.0.0-beta0059 | 302 | 2/4/2022 |
5.0.0-beta.77 | 131 | 2/21/2022 |
5.0.0-beta.75 | 138 | 2/4/2022 |
4.2.0-beta0006 | 283 | 8/20/2021 |
4.2.0-beta0004 | 275 | 5/14/2021 |
4.1.1-beta0002 | 268 | 4/14/2021 |
4.1.0 | 467 | 3/4/2021 |
4.1.0-beta0051 | 277 | 3/4/2021 |
4.1.0-beta0050 | 309 | 1/28/2021 |
4.1.0-beta0049 | 268 | 1/26/2021 |
4.1.0-beta0047 | 395 | 7/6/2020 |
4.1.0-beta0045 | 382 | 6/8/2020 |
4.1.0-beta0043 | 443 | 6/8/2020 |
4.1.0-beta0039 | 427 | 6/5/2020 |
4.1.0-beta0036 | 410 | 5/28/2020 |
4.1.0-beta0032 | 368 | 5/27/2020 |
4.1.0-beta0027 | 1,767 | 4/7/2020 |
4.1.0-beta0026 | 478 | 4/2/2020 |
Changes since version 7.0.0
Changed:
- BREAKING CHANGE: If no `LocalizationManager`s have been created, but the client asks for a string to be localized, an `InvalidOperationException` is thrown. This is to prevent an invalid state where language IDs get mapped incorrectly at the beginning and then never get updated which can cause us to fail to return properly localized strings when requested (see BL-13245). This is a breaking change because it may cause existing code to throw an exception. The fix is to ensure that a LocalizationManager is created before calling any localization methods. Or, to maintain existing behavior, set `LocalizationManager.StrictInitializationMode` to false.
- BREAKING CHANGE: Changed the signature of StringExtractor.DoExtractingWork to return an IReadOnlyList instead of an IEnumerable. It is doubtful that anything outside L10nSharp is actually using this, but it is a breaking change because it may cause existing code to fail to compile. The fix is to change the type of the variable that receives the return value to IReadOnlyList.
- Reduced the number of different types of exceptions likely to be thrown as a result of passing an invalid appVersion to the XLiffLocalizationManager constructor. Now, if the appVersion is invalid, an ArgumentException is thrown and the original exception from the call to Version.Parse is the internal exception. This is a technically a breaking change because if any existing code was catching the more specific exception types, the logic would need to be changed to catch only the ArgumentException and then do more specific processing based on the type of the inner exception. But since the details of the typesof exceptions was never explicitly documented and since applications would not be likely to be able to recover from such exceptions, it's probably very unlikely that any code was actually handling these exceptions in this way.
See full changelog at https://github.com/sillsdev/l10nsharp/blob/master/CHANGELOG.md