RSX Code Reference
    Preparing search index...
    • rsx
    • I18NInternal

    Class I18NInternal

    String handle. Provides a wrapper around an Unicode string, primarily for localization purposes.

    Actual value for this string is looked up in a global string table based on the provided identifier string and currently active language. If such value doesn't exist then the identifier is used as is.

    Use {0}, {1}, etc. in the string value for values that might change dynamically.

    Index
    • Parameters

      • OptionalisInternalConstructor: boolean

      Returns I18NInternal

    • Creates a new localized string with the specified identifier. If the identifier doesn't previously exist in the string table, identifier value will also be used for initializing the default language version of the string.

      Parameters

      • identifier: string

        String you can use for later referencing the localized string.

      • Optionalparameters: readonly string[]

        The string parameters. Will be used to replace parameters such as {0}, {1} from the translated string.

      • OptionalstringTableId: number

      Returns string

    • Creates a new localized string with the specified identifier. If the identifier doesn't previously exist in the string table, identifier value will also be used for initializing the default language version of the string.

      Parameters

      • identifier: string

        String you can use for later referencing the localized string.

      • defaultString: string

        If specified, uses the given string as a default value for the transaction, in case the value is missing on the table.

      • Optionalparameters: readonly string[]

        The string parameters. Will be used to replace parameters such as {0}, {1} from the translated string.

      • OptionalstringTableId: number

      Returns string