[ http://issues.apache.org/jira/browse/OFBIZ-75?page=comments#action_12436124 ] Jacques Le Roux commented on OFBIZ-75: --------------------------------------
Thank you for the try Marco, I see no reason why french labels should not work. So I guess that there is something in your seed data. ASA you will send them I will see that point. For "categories are showed only if description of product category is null" please take a look at this David's comment taken from http://issues.apache.org/jira/browse/OFBIZ-81?page=comments#action_12419847 ________________________________________ David E. Jones [08/juil./06 06:56 AM] For the Product description stuff: there isn't really any redundancy. If the fields on the Product entity are populated it won't look at the corresponding ProductContent records, that is part of the pattern. It works out very nicely and support the needs of both camps: those that want the simple fields and those that want the managed content, and this even though it was implemented this way incrementally as the fields on the Product entity were there from the beginning, and the ProductContent stuff was added later. The way this works has nothing to do with ECAs or anything. Copying that data over would kill the flexibility of the ProductContent model. See also my comment just after (and it's an interesting issue about this subject). Of course it works the same for categories : this is the "Override Simple Fields" concept (OSF) (better understood when you use OFBiz in english depending of the translation in you language). Of course how this UI works is not easy to understand at the beginnig. But ASA you know the OSF concept it's clear. Moreover you may try to use content management with your own seed data to better understang the OSFconcept ( a great word for a simple thing but it's intended to set up the idea ;o) > I18n of categories > ------------------ > > Key: OFBIZ-75 > URL: http://issues.apache.org/jira/browse/OFBIZ-75 > Project: OFBiz (The Open for Business Project) > Issue Type: Improvement > Components: ecommerce, order > Affects Versions: SVN trunk > Reporter: Jacques Le Roux > Assigned To: Jacques Le Roux > Fix For: SVN trunk > > Attachments: i18nCateg.patch, injectGizmos.xml, injectGizmos_2.xml > > > I propose this patch for i18n of categories. I found 3 places where I had to > do something : eCommerce (Browse Categories and Last Categories) and > creation of order. > I wrote it in BSH/FTL but I'm now asking myself whether it would not be > better to write BSH part as a method of CategoryWorker. Because it's used in > 2 files and could be consuming (not sure of overhead, cache ?). > Attached is a data file wich creates DataResources (DESCRIPTION) in french > and english for Gizmos categories. You may use it for test but have to delete > the Gizmos categories (100, 101, 102) descriptions to see the changes > (descriptions overrides else) > I think I'll do something also for Catalog ASA I I'll find some time to... > I did not change the MIT headers to ASL 2. I can do it in another patch if > this one is OK and there is no pb with this change. > Jacques -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
