Skip to content

Releases: sillsdev/l10nsharp

[6.0.0] - 2022-11-21

19 Jul 07:16
b0d0252
Compare
Choose a tag to compare

Changed

  • Added cleanUpTmx parameter to LocalizationManager.DeleteOldTranslationFiles to allow for cleanup of old TMX files.

Removed

  • TMX-based localization no longer supported
  • LocalizationManager.GetTranslationFileNameForLanguage is no longer public.

[5.0.0] - 2022-07-08

24 Aug 21:10
Compare
Choose a tag to compare

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.)

[4.1.0] - 2021-03-04

04 Mar 16:58
v4.1.0
19bb3ef
Compare
Choose a tag to compare

Changed

  • Added ExtractXliff tool as nuget package
  • Added CheckOrFixXliff tool as nuget package
  • Added version of LocalizationManager.Create to allow "custom" localization methods
  • Added -m switch to ExtractXliff command-line to allow caller to pass additional string-localization methods

[4.0.3] - 2020-01-21

21 Jan 11:01
v4.0.3
2a25d2e
Compare
Choose a tag to compare

Changed

  • Add build number to AssemblyFileVersion

[4.0.2] - 2019-07-09

09 Jul 15:14
Compare
Choose a tag to compare

Fixed

  • If translator returns an unmodified source string, don't substitute the English language name for the vernacular name.

[4.0.1] - 2019-07-08

08 Jul 21:44
Compare
Choose a tag to compare

Added

  • create symbol nuget package

Fixed

  • Find TMX files in Generated and User Modified directories

  • Don't ask Bing translator to translate language names: #66.
    Also don't display the name a second time in parentheses if English and native name are identical.

[4.0.0] - 2019-05-16

16 May 08:07
v4.0.0
13d4c82
Compare
Choose a tag to compare

This release combines the master and xliff branches.

Changed

  • Allow to select translation memory (TMX or XLIFF). This changed a few APIs.
    To create a LocalizationManager you now pass a TranslationMemory parameter
    (cf. migration guide):

    LocalizationManager.Create(TranslationMemory.XLiff, lang, "SampleApp", "SampleApp",
      Application.ProductVersion, directoryOfInstalledXliffFiles, "MyCompany/L10NSharpSample",
      icon, "[email protected]", "SampleApp");
    
  • Nuget package is now called L10NSharp instead of L10NSharp.xliff or L10NSharp.tmx

xliff: [3.1.1] - 2019-04-26

26 Apr 10:18
xliff-3.1.1
7bdf03b
Compare
Choose a tag to compare

Fixed

  • Create .exe for CheckOrFixXliff and ExtractXliff instead of .dll

xliff: [3.1.0] - 2019-04-16

16 Apr 17:46
xliff-3.1.0
3df05ff
Compare
Choose a tag to compare

Changed

  • Create nuget package
  • Strong-name assembly

tmx: [3.1.0] - 2019-04-04

04 Apr 12:58
v3.1.0
4e87daa
Compare
Choose a tag to compare

Changed

  • Create nuget package
  • Strong-name assembly