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 xmlaccess.sh 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"> <localdata locale="ja"> <title>Japanese</title> </localdata> </language> </portal> </request>The following XML sample shows how we use xmlaccess.sh 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"> <localdata locale="ja"> <title>Japanese</title> </localdata> </language> </portal> </request>
Parent Support a new language
Related information
Work with xmlaccess.sh