From e4fa2be54e6acbc9138c6d60ba76ff151d01df6e Mon Sep 17 00:00:00 2001 From: onepiecefreak3 Date: Tue, 21 Nov 2023 00:14:43 +0100 Subject: [PATCH] Add more methods to ILocalizer; --- ImGui.Forms/Localization/ILocalizer.cs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ImGui.Forms/Localization/ILocalizer.cs b/ImGui.Forms/Localization/ILocalizer.cs index 6f62dc3..1ea71b7 100644 --- a/ImGui.Forms/Localization/ILocalizer.cs +++ b/ImGui.Forms/Localization/ILocalizer.cs @@ -1,9 +1,15 @@ -namespace ImGui.Forms.Localization +using System.Collections.Generic; + +namespace ImGui.Forms.Localization { public interface ILocalizer { string CurrentLocale { get; } + IList GetLocales(); + + string GetLanguageName(string locale); + string GetLocaleByName(string name); void ChangeLocale(string locale); string Localize(string name, params object[] args);