// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. namespace WixToolset.Core { using System.Xml.Linq; using WixToolset.Data; /// /// Parses localization source files. /// public interface ILocalizer { /// /// Loads a localization file from a path on disk. /// /// Path to localization file saved on disk. /// Returns the loaded localization file. Localization ParseLocalizationFile(string path); /// /// Loads a localization file from memory. /// /// Document to parse as localization file. /// Returns the loaded localization file. Localization ParseLocalizationFile(XDocument document); } }