Search Results for

    Show / Hide Table of Contents

    Class LanguageResourceBundle

    A language resource bundle holds custom language resources for a certain language (abbreviation, ordinal followers, variables and segmentation rules).

    Inheritance
    System.Object
    LanguageResourceBundle
    Implements
    System.ComponentModel.INotifyPropertyChanged
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Sdl.LanguagePlatform.TranslationMemoryApi
    Assembly: Sdl.LanguagePlatform.TranslationMemoryApi.dll
    Syntax
    public class LanguageResourceBundle : INotifyPropertyChanged

    Constructors

    LanguageResourceBundle(CultureInfo)

    Creates a new, empty language resource bundle for the specified language.

    Declaration
    public LanguageResourceBundle(CultureInfo language)
    Parameters
    Type Name Description
    System.Globalization.CultureInfo language

    The language for which the language resource bundle will hold resources.

    LanguageResourceBundle(String)

    Creates a new, empty language resource bundle for the specified language.

    Declaration
    public LanguageResourceBundle(string languageCode)
    Parameters
    Type Name Description
    System.String languageCode

    The language code for which the language resource bundle will hold resources.

    Properties

    Abbreviations

    Gets or sets the list abbreviations for this bundle's language.

    Declaration
    public Wordlist Abbreviations { get; set; }
    Property Value
    Type Description
    Wordlist
    Remarks

    Setting this property to null will force the default abbreviations for the language to be used during TM processing. In order to change the list of abbreviations, you can either manipulate the list returned, or assign an entirely new list.

    Language

    Gets the language for which the language resource bundle will hold resources.

    Declaration
    public CultureInfo Language { get; }
    Property Value
    Type Description
    System.Globalization.CultureInfo

    LanguageCode

    Gets the language code of the language for which the language resource bundle will hold resources.

    Declaration
    public string LanguageCode { get; }
    Property Value
    Type Description
    System.String

    OrdinalFollowers

    Gets or sets the list ordinal followers for this bundle's language.

    Declaration
    public Wordlist OrdinalFollowers { get; set; }
    Property Value
    Type Description
    Wordlist
    Remarks

    Setting this property to null will force the default ordinal followers for the language to be used during TM processing. In order to change the list of ordinal followers, you can either manipulate the list returned, or assign an entirely new list.

    SegmentationRules

    Gets or sets the segmentation rules for this bundle's language.

    Declaration
    public SegmentationRules SegmentationRules { get; set; }
    Property Value
    Type Description
    SegmentationRules
    Remarks

    Setting this property to null will force the default segmentation rules for the language to be used during TM processing. In order to change the segmentation rules, you can either manipulate the rules returned by this property, or assign an entirely new SegmentationRules object.

    Variables

    Gets or sets the list variables for this bundle's language.

    Declaration
    public Wordlist Variables { get; set; }
    Property Value
    Type Description
    Wordlist
    Remarks

    Setting this property to null will force the default variables for the language to be used during TM processing. In order to change the list of variables, you can either manipulate the list returned, or assign an entirely new list.

    Methods

    Clone()

    Creates a deep copy of this language resource bundle.

    Declaration
    public LanguageResourceBundle Clone()
    Returns
    Type Description
    LanguageResourceBundle

    Events

    PropertyChanged

    Occurs when a property value changes.

    Declaration
    public event PropertyChangedEventHandler PropertyChanged
    Event Type
    Type Description
    System.ComponentModel.PropertyChangedEventHandler

    Implements

    System.ComponentModel.INotifyPropertyChanged

    On this page

    • Constructors
      • LanguageResourceBundle(CultureInfo)
      • LanguageResourceBundle(String)
    • Properties
      • Abbreviations
      • Language
      • LanguageCode
      • OrdinalFollowers
      • SegmentationRules
      • Variables
    • Methods
      • Clone()
    • Events
      • PropertyChanged
    • Implements
    Back to top Generated by DocFX