modify_messaging_language

Changes the default messaging language of a domain. Notification messages sent to resellers will use this default language, unless an alternate language has been specified for a particular message. Message-specific language preferences can be set in the RCP.

Response parameters for modify_messaging_language

Standard parameters

  • action = modify
  • object = domain
  • registrant_ip = valid IP address of the registrant (optional)

Attributes

Parameters within the attributes associative array are described below.

Parameter name

Obligation

Definition/Value

messaging_language

Required

The updated default messaging language for a domain.

Possible values are:

af-ZA Afrikaans
ar-AE Arabic
bg-BG Bulgarian
bs-BA Bosnian
cs-CZ Czech
da-DK Danish
de-DE German
el-GR Greek
en-US English
es-ES Spanish
fa-AF Persian
fi-FI Finnish
fr-FR French
hi-IN Hindi
hr-HR Croatian
id-ID Bahasa Indonesia
it-IT Italian
ja-JP Japanese
ko-KR Korean
lt-LT Lithuanian
lv-LV Latvian
ms-MY Malay
nl-NL Dutch
no-NO Norwegian
pl-PL Polish
pt-BR Portuguese (Brazilian)
ro-RO Romanian
ru-RU Russian
sk-SK Slovak
sr-RS Serbian
th-TH Thai
tr-TR Turkish
vi-VN Vietnamese
zh-CN Chinese

Response parameters modify_messaging_language

Standard parameters

  • action = reply
  • object = domain
  • is_success = a Boolean is returned, indicating success or failure of the
    request
  • response_code = response code indicating outcome of the request
  • response_text = message describing the outcome of the request

Attributes

Examples for modify_messaging_language

When modifying the language after domain registration

Request

<?xml version='1.0' encoding="UTF-8" standalone="no"?>
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="action">MODIFY_MESSAGING_LANGUAGE</item>
                <item key="object">DOMAIN</item>
                <item key="domain">supteam2.co.uk</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="messaging_language">de-DE</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>

Response

<?xml version='1.0' encoding="UTF-8" standalone="no" ?>
<!DOCTYPE OPS_envelope SYSTEM "ops.dtd">
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="object">DOMAIN</item>
                <item key="response_text">Command successful</item>
                <item key="action">REPLY</item>
                <item key="response_code">200</item>
                <item key="is_success">1</item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>