Add I18N assistant for localization of AI Studio content

This commit is contained in:
tsommer committed 2025-04-24 16:49:32 +02:00
1 parent 3e13d50302
commit d4cde9956d
11 files changed
+151 -4

No files matched your search

@@ -100,4 +100,6 @@ public sealed class Data
public DataJobPostings JobPostings { get; init; } = new();
public DataBiasOfTheDay BiasOfTheDay { get; init; } = new();
public DataI18N I18N { get; init; } = new();
}
@@ -0,0 +1,24 @@
namespace AIStudio.Settings.DataModel;
public class DataI18N
{
/// <summary>
/// Preselect any I18N options?
/// </summary>
public bool PreselectOptions { get; set; }
/// <summary>
/// Preselect the target language?
/// </summary>
public CommonLanguages PreselectedTargetLanguage { get; set; } = CommonLanguages.EN_GB;
/// <summary>
/// Preselect any other language?
/// </summary>
public string PreselectOtherLanguage { get; set; } = string.Empty;
/// <summary>
/// Which LLM provider should be preselected?
/// </summary>
public string PreselectedProvider { get; set; } = string.Empty;
}