Informatica Address Verification can return address elements in multiple languages for addresses in Belgium, Canada, China, and Switzerland. You can configure the Parameters.xml file to set the language preferences. The reference address database might contain multiple language options for a single address element or for a complete address.
A reference address database that contains multiple language options includes the following languages:
The main spoken language of the region to which each address belongs. This is the default language of the address in the reference address database.
A reference database can recognize more than one default language in a country. For example, in the Switzerland reference address database, the default language for addresses from Zurich is German, from Geneva is French, and from Ticino is Italian.
Any other language that Address Verification supports for an address. For example, the Belgium reference address database contains address elements in Flemish, French, and German.
To define a preferred language policy, set one of the following values for the
PreferredLanguage
attribute of the
Result
element in
Parameters.xml
:
DATABASE
Returns address elements in the default language for the address in the reference address database.
DATABASE is the default value for the
PreferredLanguage
attribute.
ENGLISH
Returns province and locality information in English if the reference address database contains the English names for the locality and province. For example, Address Verification can replace München with Munich and Bayern with Bavaria in Germany addresses.
ALTERNATIVE_1, ALTERNATIVE_2, or ALTERNATIVE_3
Returns address elements in one of the alternative languages in the reference address database. The alternative languages depend on the country to which the address belongs.
PRESERVE_INPUT
Returns address elements in the same language as the input address. Address Verification preserves the language if the reference address database contains the address in the input language.
If the input address contains multiple languages, Address Verification returns the address in the default database language.
Rules and Guidelines for the PreferredLanguage Setting
Consider the following rules and guidelines when you configure a preferred language:
If you set the
PreferredLanguage
attribute to a language that is not available in the reference address database, Address Verification returns the address in the default database language. In such cases, Address Verification returns an extended element result status (EERS) value of
E
. The value indicates that the output uses the default language because the reference database does not contain the information in the language that you specified.
The language or the format in which Address Verification returns the country name depends on the value you configure for the
CountryType
attribute of the
Result
element.
If the input address contains an address element that the reference database does not contain, Address Verification copies the element to the result output. For such elements, Address Verification returns the information in the same language as the address input. An element input status (EIS) value of
1
indicates that the reference address database does not contain the element. An element result status (ERS) value of
1
indicates that Address Verification copied the information from the input because the reference database does not contain the information.
If you use Informatica Address Verification Cloud, you can set a
PreferredLanguage
value under the
ValidationParameters
in the SOAP request.
If the database contains some but not all address elements in the language you specified, Address Verification returns the address partially in the language you specified and partially in the default language.