Files
SabreTools.RedumpLib/SabreTools.RedumpLib.Legacy/Attributes/LanguageCodeAttribute.cs
2026-07-05 09:51:40 -04:00

27 lines
744 B
C#

namespace SabreTools.RedumpLib.Legacy.Attributes
{
/// <summary>
/// Attribute specifc to Language values
/// </summary>
/// <remarks>
/// Some languages have multiple proper names. Should all be supported?
/// </remarks>
public class LanguageCodeAttribute : HumanReadableAttribute
{
/// <summary>
/// ISO 639-1 Code
/// </summary>
public string? TwoLetterCode { get; set; }
/// <summary>
/// ISO 639-2 Code (Standard or Bibliographic)
/// </summary>
public string? ThreeLetterCode { get; set; }
/// <summary>
/// ISO 639-2 Code (Terminology)
/// </summary>
public string? ThreeLetterCodeAlt { get; set; }
}
}