Localization properties

Two properties are related to localization:

These properties determine whether Open Server generates error messages in the Open Server application’s language or a client’s language.

SRV_S_USESRVLANG is a server-wide property, set through srv_props. Its value serves as the default value for SRV_T_USESRVLANG.

SRV_T_USESRVLANG is a thread property, set through srv_thread_props. When a new thread structure is allocated, SRV_T_USESRVLANG picks up a default value from SRV_S_USESRVLANG.

If SRV_T_USESRVLANG is CS_TRUE, Open Server generates error messages in the server’s language.

If SRV_T_USESRVLANG is CS_FALSE, Open Server generates error messages in the client’s language.

For more information on setting properties, see “Properties”.