[ 
http://issues.apache.org/jira/browse/OFBIZ-75?page=comments#action_12436242 ] 
            
Jacques Le Roux commented on OFBIZ-75:
--------------------------------------

Marco,

As explained David this is how works this functionnality for the moment. This 
is true for products (already in place) and with this patch for categories. 
Some work remains to be done for Catalog.

If I'm not wrong it's how it works and it's impossible to have both : it's 
override concept (like in objects methods if you prefer)

So for categories 
. either you use description in Catalog/Category/Content Override Simple 
Fields/Description and in this case you can't have localisation (quicker but 
not i18n)
. either you don't use Override Simple Fields/Description (let blank) and in 
this case must you provide Content/Data Resource structures in each languages 
you want to use (easier with seed data but you may also use content manager)

BTW I began this morning to take a look at your data but I did not get enough 
time to finish. Will see that ASAP.

> 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

        

Reply via email to