L10NSharp 5.0.0

.NET Framework 4.6.1
There is a newer prerelease version of this package available.
See the version list below for details.
NuGet\Install-Package L10NSharp -Version 5.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
dotnet add package L10NSharp --version 5.0.0
<PackageReference Include="L10NSharp" Version="5.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add L10NSharp --version 5.0.0
#r "nuget: L10NSharp, 5.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install L10NSharp as a Cake Addin
#addin nuget:?package=L10NSharp&version=5.0.0

// Install L10NSharp as a Cake Tool
#tool nuget:?package=L10NSharp&version=5.0.0

L10NSharp is a .NET localization library for Windows Forms applications. It collects strings which needs localization when your application first runs and saves them in a XLIFF or TMX file. It can also dynamically collect strings at runtime.

Product Versions
.NET Framework net461 net462 net463 net47 net471 net472 net48
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.6.1

    • No dependencies.

NuGet packages (8)

Showing the top 5 NuGet packages that depend on L10NSharp:

Package Downloads
SIL.Windows.Forms.Keyboarding The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

The SIL.Windows.Forms.Keyboarding library provides cross-platform functionality for keyboard selection and switching in Windows Forms applications. Currently, this library supports system and Keyman keyboards on Windows, and X keyboard extension (XKB) and Intelligent Input Bus (IBus) keyboards on Linux.

SIL.Windows.Forms.WritingSystems The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

SIL.Windows.Forms.WritingSystems contains Windows Forms UI elements for displaying and editing writing systems as defined by the SIL.WritingSystems assembly.

SIL.Windows.Forms The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

SIL.Windows.Forms contains Windows Forms classes for UI elements (controls and dialogs) that are commonly used across various SIL applications. SIL.Windows.Forms is similar to SIL.Core in that it does not contain classes that are specific to any domain.

SIL.Windows.Forms.DblBundle The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Package Description

SIL.Archiving The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

SIL.Archiving contains Windows Forms UI elements and classes for archiving data to REAP using the RAMP application.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
6.0.0-beta0015 44 8/24/2022
6.0.0-beta0013 43 8/24/2022
6.0.0-beta0003 64 7/12/2022
5.0.0 1,249 7/8/2022
5.0.0-beta0098 53 7/8/2022
5.0.0-beta0097 47 7/8/2022
5.0.0-beta0094 444 6/2/2022
5.0.0-beta0092 62 5/31/2022
5.0.0-beta0090 235 5/19/2022
5.0.0-beta0088 537 5/17/2022
5.0.0-beta0086 415 4/12/2022
5.0.0-beta0082 84 4/11/2022
5.0.0-beta0080 333 3/9/2022
5.0.0-beta0059 1,301 2/4/2022
5.0.0-beta.77 58 2/21/2022
5.0.0-beta.75 73 2/4/2022
4.2.0-beta0006 1,541 8/20/2021
4.2.0-beta0004 892 5/14/2021
4.1.1-beta0002 400 4/14/2021
4.1.0 1,287 3/4/2021
4.0.3 518 1/21/2020
4.0.2 674 7/9/2019
4.0.1 433 7/8/2019
4.0.0 836 5/16/2019

Changes since version 4.1.0

Added:
- option `LocalizationManager.ThrowIfManagerDisposed` to not throw if LM disposed (BL-9904)
- XliffBody.TransUnitsUnordered for where you just need to enumerate all of them.
- (Made public) XliffBody.AddTransUnit and .RemoveTransUnit for where you need to modify.
- XliffBody.TransUnitsForXml. This is necessarily public to support (backwards-compatible)
   serialization and deserialization in XML, but is not intended for any other purpose.

Changed:
- remove progress dialog when initializating Xliff localization managers (BL-11157)
- Made string retrieval operations on Xliff-based LocalizationManagers thread-safe
- Added ILocalizationManager parameter to StringsLocalizedHandler
- It's long been a convention that xliff file names are module.lang.xlf (e.g., Bloom.fr.xlf)
or else kept in language-code folders (.../en/Bloom.xlf) if UseLanguageCodeFolders is set.
With the latest changes, this is required: the language name indicated in these ways in the file
name must match the language declared in the target-language attribute, or at least match the
first element of the target-language (e.g., a file with target-languge es-ES may be stored in
file like Bloom.es.xlf or .../es/Bloom.xlf).
- Progress dialogs are no longer shown when initializing XLIFF-based LocalizationManagers.
- Made it possible for caller to specify the file extension of the "original" executable file
when constructing an XLIFF-based LocalizationManager.
- Changed the way the "original" attribute is set in XLIFF files. It used to be based on the
Name, but changed it to use Id instead.
- Added optional owner parameter to methods that show dialog boxes so that they can be
displayed centered on a parent window (and not appear off-screen).

Removed:
- XliffBody.TransUnits, as there is no good way to make this thread-safe for all the ways
   it could be used, such as adding items to the list. (See Added for replacements.)

See full changelog at https://github.com/sillsdev/l10nsharp/blob/master/CHANGELOG.md