using System.Globalization;
namespace ZonyLrcTools.Common.Infrastructure.Localization;
///
/// Provides localization services for the application.
///
public interface ILocalizationService
{
///
/// Gets a localized string by key.
///
string this[string key] { get; }
///
/// Gets a localized string by key with format arguments.
///
string this[string key, params object[] args] { get; }
///
/// Gets an error message by error code.
///
string GetErrorMessage(int errorCode);
///
/// Gets a warning message by warning code.
///
string GetWarningMessage(int warningCode);
///
/// Sets the current culture.
///
void SetCulture(string cultureName);
///
/// Gets the current culture name.
///
string CurrentCulture { get; }
///
/// Gets the list of supported cultures.
///
IReadOnlyList SupportedCultures { get; }
}