Skip to content

Commit

Permalink
feature:add option to sort languages alphabetically
Browse files Browse the repository at this point in the history
  • Loading branch information
Trevor Payne committed Oct 29, 2021
1 parent 0914e34 commit bd06069
Show file tree
Hide file tree
Showing 2 changed files with 377 additions and 364 deletions.
2 changes: 2 additions & 0 deletions epi-utilities-i18n/I18NLanguagesConfiguration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ namespace PepperDash.Utilities
public class I18NUtilityConfiguration
{
public string DefaultLocale { get; set; }
public bool SortAlphabetically { get; set; }
}

public class I18NLanguagesConfiguration
Expand All @@ -15,6 +16,7 @@ public class I18NLanguagesConfiguration
public I18NLanguagesConfiguration()
{
LanguageDefinitions = new Dictionary<string, LanguageDefinition>();

}
}

Expand Down
Loading

0 comments on commit bd06069

Please sign in to comment.