XML samples for creating or removing language definitions
We can modify these XML samples and use them to create or remove language definitions from the portal. The following XML sample shows how we use the XML configuration interface to create Japanese language in the portal:
<request xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" type="update" xsi:noNamespaceSchemaLocation="PortalConfig_8.5.0.xsd"> <portal action="locate"> <language action="update" domain="rel" locale="ja"> <localedata locale="ja"> <title>Japanese</title> </localedata> </language> </portal> </request>The following XML sample shows how we use the XML configuration interface to remove Japanese language in the portal:<request xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" type="update" xsi:noNamespaceSchemaLocation="PortalConfig_8.5.0.xsd"> <portal action="locate"> <language action="delete" domain="rel" locale="ja"> <localedata locale="ja"> <title>Japanese</title> </localedata> </language> </portal> </request>
Parent topic: Supporting a new language
References: