Hi,
How do I import the products' name in Simplified Chinese? From http://docs.ofbiz.org/display/OFBIZ/Handling+of+External+data, I cannot see a variable regarding to locale. Regards, Terence |
This would be a separate import from the base product records. You will need to create content records with descriptions for the alternatve locales. I believe there are examples of this in the demo data, although I'm not sure if they are under the product or content component.
Vince Clark www.globalera.com [hidden email] (303) 493-6723 office (303) 523-4843 cell ----- Original Message ----- From: "ngterry" <[hidden email]> To: [hidden email] Sent: Wednesday, September 16, 2009 8:22:39 AM GMT -07:00 US/Canada Mountain Subject: How to import Products with locale? Hi, How do I import the products' name in Simplified Chinese? From http://docs.ofbiz.org/display/OFBIZ/Handling+of+External+data, I cannot see a variable regarding to locale. Regards, Terence -- View this message in context: http://www.nabble.com/How-to-import-Products-with-locale--tp25473486p25473486.html Sent from the OFBiz - User mailing list archive at Nabble.com. |
Administrator
|
It's in eCommerce : DemoProductI18nData.xml
Jacques From: "Vince Clark" <[hidden email]> > This would be a separate import from the base product records. You will need to create content records with descriptions for the > alternatve locales. I believe there are examples of this in the demo data, although I'm not sure if they are under the product or > content component. > > > Vince Clark > www.globalera.com > [hidden email] > (303) 493-6723 office > (303) 523-4843 cell > > > ----- Original Message ----- > From: "ngterry" <[hidden email]> > To: [hidden email] > Sent: Wednesday, September 16, 2009 8:22:39 AM GMT -07:00 US/Canada Mountain > Subject: How to import Products with locale? > > > Hi, > > How do I import the products' name in Simplified Chinese? From > http://docs.ofbiz.org/display/OFBIZ/Handling+of+External+data, I cannot see > a variable regarding to locale. > > Regards, > Terence > -- > View this message in context: http://www.nabble.com/How-to-import-Products-with-locale--tp25473486p25473486.html > Sent from the OFBiz - User mailing list archive at Nabble.com. > |
In reply to this post by Vince Clark
You may want to check:
http://docs.ofbiz.org/display/OFBIZ/Guide+to+OFBiz-i18n%2C++Internationalisation+of+OFBiz I have added a subsection talking about the Product-specific i18n stuff. Also, check the following demo data: {OFBIZ_HOME}/specialpurpose/ecommerce/data/DemoProductI18nData.xml which contains an example for Product.name and Product.description in locales EN, FR and IT. You will need to add such Entities to your upload file. Notice my remark on naming conventions for the entity IDs; using such will definitely make your CMS-work easier. Also note, that only ONE locale is related to the product as ProductContent and the other Content entities are then related to this "primary content item" using ContentAssoc with "ALTERNATE_LOCALE" type. Further, don't forget you need DataResource entities for each of these. Also, you will want to add the Product.longDescription if you are using default ecommerce layouts. Otherwise your product detail view will look a little silly ;-) Finally, if chinese was the only locale you need the content in, you may probably use the above mechanisms and just not add any "ALTERNATE_LOCALE" Content. Feel free to comment on the document mentioned above in order to help me get that "readable" for a wider audience :) Thanks & regards Carsten 2009/9/16 Vince Clark <[hidden email]> > This would be a separate import from the base product records. You will > need to create content records with descriptions for the alternatve locales. > I believe there are examples of this in the demo data, although I'm not sure > if they are under the product or content component. > > > Vince Clark > www.globalera.com > [hidden email] > (303) 493-6723 office > (303) 523-4843 cell > > > ----- Original Message ----- > From: "ngterry" <[hidden email]> > To: [hidden email] > Sent: Wednesday, September 16, 2009 8:22:39 AM GMT -07:00 US/Canada > Mountain > Subject: How to import Products with locale? > > > Hi, > > How do I import the products' name in Simplified Chinese? From > http://docs.ofbiz.org/display/OFBIZ/Handling+of+External+data, I cannot > see > a variable regarding to locale. > > Regards, > Terence > -- > View this message in context: > http://www.nabble.com/How-to-import-Products-with-locale--tp25473486p25473486.html > Sent from the OFBiz - User mailing list archive at Nabble.com. > > -- Best Carsten Schinzer Waisenhausstr. 53a 80637 München Germany |
Free forum by Nabble | Edit this page |