logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Enum StringTransform

    Specifies string transformation operations for culture and region codes.

    Namespace: Serenity.SystemConfiguration.Domain.Enums
    Assembly: Serenity.SystemConfiguration.Domain.dll
    Syntax
    public enum StringTransform

    Fields

    Name Description
    CultureNormalize

    Normalizes culture codes to standard format. Ie "en_us" -> "en-US"

    CultureToLanguage

    Extracts the language code from a culture code. Ie "en-US" -> "en"

    CultureToRegion

    Extracts the region code from a culture code. Ie "en-US" -> "US"

    None

    No transformation applied.

    In this article
    © 2026 Serenity. All Rights Reserved