Version 8.0
 —  Internationalization with EntireX  —

Internationalization Changes and Migration Hints

It is assumed that you have read the introduction to Internationalization with EntireX and are familiar with the various internationalization approaches.

This document provides information on all changes to internationalization behavior in previous versions of EntireX and gives hints for migration.

See also: Broker Attribute File


Internationalization Changes Compared with Version 7.2.x

This version of EntireX does not support the ECS conversion approach to internationalization (see Internationalization Changes and Migration Hints.) Instead, ICU conversion must be used. Migration from ECS conversion to ICU conversion is required. This section will assist you in migrating from ECS conversion to ICU conversion by helping you to find relevant ICU converters to use as replacements for an ECS conversion codepage.

Changes in the Broker Kernel

Two changes were made to internationalization in the broker kernel

Changes to EntireX Components

No changes were made to EntireX components regarding internationalization behavior.

ECS and ICU Codepage Compatibility

The basic features of ECS and ICU conversion codepages are identical. However,

Migrating from ECS Conversion to ICU Conversion

ECS-style locale strings sent by EntireX components in the format "ECS <ecs-number>", where <ecs-number> is the decimal number of an ECS codepage, are mapped inside the broker to ICU converter names. However, we recommend adapting the locale string style ECS <ecs-number> sent by your EntireX components to the broker, to a style supported by ICU and the broker. See Locale String Mapping and Preparing EntireX Components for Internationalization under z/OS | UNIX | Windows.

Top of page

Internationalization Changes Compared with Versions 7.1.x and Earlier

With version 7.2.x of EntireX the mechanism for internationalization changed compared with version 7.1.x and earlier. It is no longer possible to define multiple internationalization approaches per service as was possible in version 7.1.x and earlier.

Changes in the Broker Kernel

The changes that were made to internationalization in the broker kernel

To understand the changes read the following excerpt from EntireX 7.1.x documentation:

The following table shows the broker's handling of translation and conversion for version 7.1.x and earlier:

  Attribute File Specifications Application Use of Locale
Translation Conversion Neither sender nor receiver has locale string Sender or receiver or both have locale string
  A B
1 not specified not specified Data sent unchanged, message conversion is to be done by application. Data sent unchanged, message conversion is to be done by application.
2 =Methodname not specified Translation is used with given Methodname. This configuration does not make sense, data is sent unchanged.
3 not specified =Methodname This configuration does not make sense, data is sent unchanged. Conversion is used with given Methodname.
4 =Methodname1 =Methodname2 Translation is used with given Methodname1. Conversion is used with given Methodname2.

Binary payload

The configuration as shown in row 1 in the table above is used for binary payload. No conversion or translation should take place.

The broker in this version behaves the same as in earlier versions. Nothing has changed for cases 1A and 1B. The payload is never translated or converted.

Use Translation or Translation User Exit

The configuration as shown in row 2 in the table above is applicable to the internationalization approaches Translation or Translation User Exit.

The behavior of the broker for this version of EntireX in case 2B is to use the defined internationalization approach. Hence, this version of the broker does not send non-translated data (different from version 7.1.x and earlier brokers). The payload is always translated. The situation in version 7.1.x and earlier brokers under configuration 2B which made no sense and caused error situations has been removed with this version and can no longer occur.

A possible locale string sent by an EntireX component is ignored by the broker of this version of EntireX and no longer has an influence whether the payload is translated or not.

Use ICU Conversion or SAGTRPC User Exit

The configuration as shown in row 3 in the table above is applicable to ICU Conversion and SAGTRPC User Exit as the internationalization approach.

The behavior of the broker for this version of EntireX in case 3A is also to use the defined internationalization approach and not to send unconverted data (as did version 7.1.x and earlier brokers). The payload is always converted. The situation in version 7.1.x and earlier brokers under configuration 3A which made no sense and caused error situations has been removed and can no longer occur.

Missing locale strings not sent by an EntireX component are mapped by the broker's locale string default mechanism and no longer have an influence whether the payload is converted or not.

Use multiple internationalization approaches

The configuration as shown in row 4 in the table above does not clearly define the internationalization approach to use. The alternating use of translation and conversion depending on the presence of locale strings (as did version 7.1.x and earlier brokers) is no longer supported.

The behavior of the broker for this version of EntireX in case 4A is to use conversion (that is, the same as 4B, assuming conversion is the more exact approach) instead of reverting to translation (as did version 7.1.x and earlier brokers). The payload is always converted with the internationalization approach defined for conversion, and hence any translation approach is ignored. A warning is printed in the broker trace log. Thus it can no longer be unclear which internationalization approach is used by the broker.

Missing locale strings not sent by an EntireX component are mapped by the broker's locale string default mechanism and no longer have any influence whether the payload is converted or translated.

Summary of changes in the broker kernel

Attribute File Specifications Internationalization approach used
Translation Conversion
not specified not specified Data sent unchanged, message conversion is to be done by application.
=Methodname not specified Translation is used with given Methodname.
not specified =Methodname Conversion is used with given Methodname.
=Methodname1 =Methodname2 Conversion is used with given Methodname2.

The table above and the notes below show the broker's handling of translation and conversion for this version:

Changes to EntireX Components

Because the broker's algorithm for choosing the internationalization approach no longer depends on the presence of locale strings, it is possible to send locale strings to the broker kernel in advance by default, even if the internationalization approach is unknown.

Providing suitable locale strings by default is

Because locale strings are unnecessary for Translation and Translation User Exit, this version of the broker simply ignores them if the internationalization approach is Translation or Translation User Exit.

Summary of changes in EntireX components

Note:
Providing locale strings by default additionally depends on using Broker API Version 8. In practice this additional restriction has to be considered for native ACI programming (C, Broker ActiveX Control) only for the following reasons:

Top of page