Skip to content

Commit

Permalink
Add more methods to ILocalizer;
Browse files Browse the repository at this point in the history
  • Loading branch information
onepiecefreak3 committed Nov 20, 2023
1 parent ca0f4a8 commit e4fa2be
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion ImGui.Forms/Localization/ILocalizer.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
namespace ImGui.Forms.Localization
using System.Collections.Generic;

namespace ImGui.Forms.Localization
{
public interface ILocalizer
{
string CurrentLocale { get; }

IList<string> GetLocales();

string GetLanguageName(string locale);
string GetLocaleByName(string name);
void ChangeLocale(string locale);

string Localize(string name, params object[] args);
Expand Down

0 comments on commit e4fa2be

Please sign in to comment.