[ 
https://issues.apache.org/jira/browse/OFBIZ-1897?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12617545#action_12617545
 ] 

Bruno Busco commented on OFBIZ-1897:
------------------------------------

David,
could you please give some more details about your suggested way of doing this?

I have tryed the following but I am not sure to be on the right path:

I have created two Image-type DataResources one with locale "en" and one with 
locale "it". For each one of them I uploaded a proper image.
The two DataResources have, of course, got two different dataResourceId.

I can display the first with:
http://localhost:8080/content/control/ViewSimpleContent?dataResourceId=defaultimage
and the second with:
http://localhost:8080/content/control/ViewSimpleContent?dataResourceId=10000

Is there a way to embed the locale in the link and have the content manager 
select the correct dataResource?

Many thanks

> Product default image I18N (CONTRIBUTION)
> -----------------------------------------
>
>                 Key: OFBIZ-1897
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1897
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: order
>    Affects Versions: SVN trunk
>         Environment: Ubuntu 8.04, JDK 1.5
>            Reporter: J.Enrique Ruiz (DiSiD Technologies S.L.)
>             Fix For: SVN trunk
>
>         Attachments: defaultImage-I18N.patch
>
>
> I have added support for internationalizing the Product's defaultImage.jpg.
> Attached I have included the patch.
> Best regards.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to