using Microsoft.Extensions.Localization;
namespace Elsa.Studio.Localization;
///
/// Interface for localization.
///
public interface ILocalizer
{
///
/// Gets the localized string for the given key.
///
/// The key for the localized string.
LocalizedString this[string key] { get; }
///
/// Gets the localized string for the given key and formats it with the provided arguments.
///
/// The key for the localized string.
/// The arguments to format the localized string with.
LocalizedString this[string key, params object[] arguments] { get; }
}