logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class AchievementSyncMissingLocale

    A language the storefront holds achievement text in that the project's string table collection has no table for, so a pull cannot file that text until the author adds the language — and, when the project has no locale for it either (under the storefront's code or an alias of it), the locale too.

    Inheritance
    object
    AchievementSyncMissingLocale
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    Namespace: Serenity.Achievements.Application.Sync
    Assembly: Serenity.Achievements.Application.dll
    Syntax
    public sealed class AchievementSyncMissingLocale

    Constructors

    AchievementSyncMissingLocale(string, string, string)

    Creates a missing language.

    Declaration
    public AchievementSyncMissingLocale(string localeCode, string displayName, string existingProjectLocaleCode = "")
    Parameters
    Type Name Description
    string localeCode

    The Unity locale code of the language, as the storefront's records carry it.

    string displayName

    The language's name as the storefront knows it, for example French.

    string existingProjectLocaleCode

    The code the project already registers a locale for this language under — an alias of localeCode, such as zh-Hans for zh-CN — or empty when it has none.

    Properties

    DisplayName

    Declaration
    public string DisplayName { get; }
    Property Value
    Type Description
    string

    The language's name, or its locale code when the connector names none.

    ExistingProjectLocaleCode

    Declaration
    public string ExistingProjectLocaleCode { get; }
    Property Value
    Type Description
    string

    The code the project registers its locale for this language under, or empty when it has no locale for it.

    HasExistingProjectLocale

    Declaration
    public bool HasExistingProjectLocale { get; }
    Property Value
    Type Description
    bool

    Whether the project already has a locale for this language, so only a table is missing and no locale may be made.

    LocaleCode

    Declaration
    public string LocaleCode { get; }
    Property Value
    Type Description
    string

    The locale code the storefront's texts are filed under.

    ProjectLocaleCode

    Declaration
    public string ProjectLocaleCode { get; }
    Property Value
    Type Description
    string

    The locale code the project files this language under once it is added: its own locale when it has one.

    In this article
    © 2026 Serenity. All Rights Reserved