-
-
Notifications
You must be signed in to change notification settings - Fork 10
Migration
Eberhard Beilharz edited this page May 17, 2019
·
4 revisions
This document describes necessary changes in client code when updating to a newer major version of l10nsharp.
Version 4.0 merges the two branches that use TMX or XLIFF files as translation memory. The translation memory system can now be selected by passing an additional parameter to the LocalizationManager.Create
method and returns a ILocalizationManager
object:
ILocalizationManager manager = LocalizationManager.Create(TranslationMemory.XLiff, lang,
"SampleApp", "SampleApp", Application.ProductVersion, directoryOfInstalledXliffFiles,
"MyCompany/L10NSharpSample", icon, "[email protected]", "SampleApp");
Two public methods got renamed to be applicable for both XLIFF and TMX:
-
LocalizationManager.IgnoreExistingEnglishXliffFiles
is nowLocalizationManager.IgnoreExistingEnglishTranslationFiles
-
LocalizationManager.MergeExistingEnglishXliffFileIntoNew
is nowLocalizationManager.MergeExistingEnglishTranslationFileIntoNew