docs.unity.cn
    Show / Hide Table of Contents

    Interface ITranslationUnit

    Static container for a dynamic structure of elements holding the extracted translatable source text, aligned with the translated text.

    Inherited Members
    INoteCollection.NoteCount
    INoteCollection.GetNote(Int32)
    INoteCollection.AddNote(INote)
    INoteCollection.RemoveNote(INote)
    INoteCollection.AddNewNote()
    Namespace: UnityEditor.Localization.Plugins.XLIFF.Common
    Syntax
    public interface ITranslationUnit : INoteCollection

    Properties

    Id

    The unique Id of the translation unit. By default this is the Id.

    Declaration
    string Id { get; set; }
    Property Value
    Type Description
    String

    Name

    The unique name of the translation unit. By default this is the Key.

    Declaration
    string Name { get; set; }
    Property Value
    Type Description
    String

    Source

    The source text taken from the StringTable for the source Locale.

    Declaration
    string Source { get; set; }
    Property Value
    Type Description
    String

    Target

    The target text taken from the StringTable for the source Locale.

    Declaration
    string Target { get; set; }
    Property Value
    Type Description
    String
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Thursday, June 9, 2022
    Terms of use