ecommerce/data/DemoProductI18nData.xml (27 lines of code) (raw):

<?xml version="1.0" encoding="UTF-8"?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <entity-engine-xml> <!-- When you set contents here, don't forget to remove the original Name in DemoProduct.xml if any... I got caught by this today --> <!-- Example of a product with many languages --> <DataResource dataResourceId="GZ2644DESCFR" dataResourceTypeId="ELECTRONIC_TEXT" localeString="fr"/> <DataResource dataResourceId="GZ2644DESCIT" dataResourceTypeId="ELECTRONIC_TEXT" localeString="it"/> <DataResource dataResourceId="GZ2644DESCEN" dataResourceTypeId="ELECTRONIC_TEXT" localeString="en"/> <ElectronicText dataResourceId="GZ2644DESCFR" textData="Gizmo rond lumineux"/> <ElectronicText dataResourceId="GZ2644DESCIT" textData="Gizmo rotondo con luci"/> <ElectronicText dataResourceId="GZ2644DESCEN" textData="Round Gizmo with lights"/> <Content contentId="GZ2644DESCFR" contentTypeId="DOCUMENT" dataResourceId="GZ2644DESCFR" description="DESCRIPTION FR Round Gizmo" localeString="fr"/> <Content contentId="GZ2644DESCIT" contentTypeId="DOCUMENT" dataResourceId="GZ2644DESCIT" description="DESCRIPTION IT Round Gizmo" localeString="it"/> <Content contentId="GZ2644DESCEN" contentTypeId="DOCUMENT" dataResourceId="GZ2644DESCEN" description="DESCRIPTION EN Round Gizmo" localeString="en"/> <ProductContent productId="GZ-2644" contentId="GZ2644DESCEN" productContentTypeId="DESCRIPTION" fromDate="2006-09-22 00:00:00.0"/> <ContentAssoc contentId="GZ2644DESCEN" contentIdTo="GZ2644DESCIT" contentAssocTypeId="ALTERNATE_LOCALE" fromDate="2006-09-22 00:00:00.0"/> <ContentAssoc contentId="GZ2644DESCEN" contentIdTo="GZ2644DESCFR" contentAssocTypeId="ALTERNATE_LOCALE" fromDate="2006-09-22 00:00:00.0"/> <DataResource dataResourceId="GZ2644NAMEFR" dataResourceTypeId="ELECTRONIC_TEXT" localeString="fr"/> <DataResource dataResourceId="GZ2644NAMEIT" dataResourceTypeId="ELECTRONIC_TEXT" localeString="it"/> <DataResource dataResourceId="GZ2644NAMEEN" dataResourceTypeId="ELECTRONIC_TEXT" localeString="en"/> <ElectronicText dataResourceId="GZ2644NAMEFR" textData="Gizmo Rond"/> <ElectronicText dataResourceId="GZ2644NAMEIT" textData="Gizmo Rotondo"/> <ElectronicText dataResourceId="GZ2644NAMEEN" textData="Round Gizmo"/> <Content contentId="GZ2644NAMEFR" contentTypeId="DOCUMENT" dataResourceId="GZ2644NAMEFR" description="DESCRIPTION FR Round Gizmo" localeString="fr"/> <Content contentId="GZ2644NAMEIT" contentTypeId="DOCUMENT" dataResourceId="GZ2644NAMEIT" description="DESCRIPTION IT Round Gizmo" localeString="it"/> <Content contentId="GZ2644NAMEEN" contentTypeId="DOCUMENT" dataResourceId="GZ2644NAMEEN" description="DESCRIPTION EN Round Gizmo" localeString="en"/> <ProductContent productId="GZ-2644" contentId="GZ2644NAMEEN" productContentTypeId="PRODUCT_NAME" fromDate="2006-09-22 00:00:00.0"/> <ContentAssoc contentId="GZ2644NAMEEN" contentIdTo="GZ2644NAMEIT" contentAssocTypeId="ALTERNATE_LOCALE" fromDate="2006-09-22 00:00:00.0"/> <ContentAssoc contentId="GZ2644NAMEEN" contentIdTo="GZ2644NAMEFR" contentAssocTypeId="ALTERNATE_LOCALE" fromDate="2006-09-22 00:00:00.0"/> </entity-engine-xml>