Add project files.

This commit is contained in:
2025-08-20 11:07:36 +03:30
parent 3863c74931
commit 1a308a4069
899 changed files with 85379 additions and 0 deletions
@@ -0,0 +1,26 @@
using System.Globalization;
namespace Elsa.Studio.Localization.Options;
/// <summary>
/// Options for localization settings.
/// </summary>
public class LocalizationOptions
{
public static string LocalizationSection = "Localization";
/// <summary>
/// Gets or sets the supported cultures.
/// </summary>
public string[] SupportedCultures { get; set; } = [];
/// <summary>
/// Gets or sets the default culture.
/// </summary>
public string DefaultCulture { get; set; } = "en-US";
/// <summary>
/// Gets or sets the culture picker formatter
/// </summary>
public Func<CultureInfo, string> CulturePickerFormatter { get; set; } = info => info.Name;
}