[jira] Created: (OFBIZ-1578) usage of new resource bundle not working in ecommerce

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
14 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (OFBIZ-1578) usage of new resource bundle not working in ecommerce

Nicolas Malin (Jira)
usage of new resource bundle not working in ecommerce
-----------------------------------------------------

                 Key: OFBIZ-1578
                 URL: https://issues.apache.org/jira/browse/OFBIZ-1578
             Project: OFBiz
          Issue Type: Bug
          Components: framework
    Affects Versions: SVN trunk
            Reporter: Hans Bakker
            Priority: Minor


I tried to replace the EcommerceUilabels.properties and the
EcommerceUilabels_th.properties file with EcommerceUilabels.xml file.

But then i get the error:  could not find resource: EcommerceUiLabels
for locale en_US

Attached the new xml file.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-1578) usage of new resource bundle not working in ecommerce

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-1578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hans Bakker updated OFBIZ-1578:
-------------------------------

    Attachment: EcommerceUiLabels.xml

> usage of new resource bundle not working in ecommerce
> -----------------------------------------------------
>
>                 Key: OFBIZ-1578
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1578
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Hans Bakker
>            Priority: Minor
>         Attachments: EcommerceUiLabels.xml
>
>
> I tried to replace the EcommerceUilabels.properties and the
> EcommerceUilabels_th.properties file with EcommerceUilabels.xml file.
> But then i get the error:  could not find resource: EcommerceUiLabels
> for locale en_US
> Attached the new xml file.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Assigned: (OFBIZ-1578) usage of new resource bundle not working in ecommerce

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-1578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hans Bakker reassigned OFBIZ-1578:
----------------------------------

    Assignee: Adrian Crum

Hi Adrian, i have a few students here and let them write a conversion program for all the properties files....

> usage of new resource bundle not working in ecommerce
> -----------------------------------------------------
>
>                 Key: OFBIZ-1578
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1578
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Hans Bakker
>            Assignee: Adrian Crum
>            Priority: Minor
>         Attachments: EcommerceUiLabels.xml
>
>
> I tried to replace the EcommerceUilabels.properties and the
> EcommerceUilabels_th.properties file with EcommerceUilabels.xml file.
> But then i get the error:  could not find resource: EcommerceUiLabels
> for locale en_US
> Attached the new xml file.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-1578) usage of new resource bundle not working in ecommerce

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-1578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hans Bakker updated OFBIZ-1578:
-------------------------------

    Attachment: EcommerceUiLabels.xml

now an xml with all available languages including chinese

> usage of new resource bundle not working in ecommerce
> -----------------------------------------------------
>
>                 Key: OFBIZ-1578
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1578
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Hans Bakker
>            Assignee: Adrian Crum
>            Priority: Minor
>         Attachments: EcommerceUiLabels.xml, EcommerceUiLabels.xml
>
>
> I tried to replace the EcommerceUilabels.properties and the
> EcommerceUilabels_th.properties file with EcommerceUilabels.xml file.
> But then i get the error:  could not find resource: EcommerceUiLabels
> for locale en_US
> Attached the new xml file.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-1578) usage of new resource bundle not working in ecommerce

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Adrian Crum commented on OFBIZ-1578:
------------------------------------

Hans,

One of the quirks with the custom xml file format is you have to have the "fallback locale" in the xml file. See the note in framework/common/config/general.properties: locale.properties.fallback property.

You'll need to include the existing EcommerceUiLabels.properties in the xml file using xml:lang="en".

The work you've done so far looks great!


> usage of new resource bundle not working in ecommerce
> -----------------------------------------------------
>
>                 Key: OFBIZ-1578
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1578
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Hans Bakker
>            Assignee: Adrian Crum
>            Priority: Minor
>         Attachments: EcommerceUiLabels.xml, EcommerceUiLabels.xml
>
>
> I tried to replace the EcommerceUilabels.properties and the
> EcommerceUilabels_th.properties file with EcommerceUilabels.xml file.
> But then i get the error:  could not find resource: EcommerceUiLabels
> for locale en_US
> Attached the new xml file.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-1578) usage of new resource bundle not working in ecommerce

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Hans Bakker commented on OFBIZ-1578:
------------------------------------

Yes adrian, i noticed that in the last file, but please have a look at
the first file I put in, it has the 'en' locale but still has that
problem. I only added the last file to show you we will try to convert everything.

> usage of new resource bundle not working in ecommerce
> -----------------------------------------------------
>
>                 Key: OFBIZ-1578
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1578
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Hans Bakker
>            Assignee: Adrian Crum
>            Priority: Minor
>         Attachments: EcommerceUiLabels.xml, EcommerceUiLabels.xml
>
>
> I tried to replace the EcommerceUilabels.properties and the
> EcommerceUilabels_th.properties file with EcommerceUilabels.xml file.
> But then i get the error:  could not find resource: EcommerceUiLabels
> for locale en_US
> Attached the new xml file.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-1578) usage of new resource bundle not working in ecommerce

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Hans Bakker commented on OFBIZ-1578:
------------------------------------

Yes adrian, i noticed that in the last file, but please have a look at
the first file I put in, it has the 'en' locale but still has that
problem.





> usage of new resource bundle not working in ecommerce
> -----------------------------------------------------
>
>                 Key: OFBIZ-1578
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1578
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Hans Bakker
>            Assignee: Adrian Crum
>            Priority: Minor
>         Attachments: EcommerceUiLabels.xml, EcommerceUiLabels.xml
>
>
> I tried to replace the EcommerceUilabels.properties and the
> EcommerceUilabels_th.properties file with EcommerceUilabels.xml file.
> But then i get the error:  could not find resource: EcommerceUiLabels
> for locale en_US
> Attached the new xml file.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (OFBIZ-1578) usage of new resource bundle not working in ecommerce

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-1578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hans Bakker closed OFBIZ-1578.
------------------------------

       Resolution: Fixed
    Fix Version/s: SVN trunk

i am really sure why it did not work in the ecommerce component because it worked in the example component.
However it does work here now locally....we have written a conversion program and will slowly go through all components....and delete all propoerties language files and replace by one xml if that is ok with everybody.....

> usage of new resource bundle not working in ecommerce
> -----------------------------------------------------
>
>                 Key: OFBIZ-1578
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1578
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Hans Bakker
>            Assignee: Adrian Crum
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: EcommerceUiLabels.xml, EcommerceUiLabels.xml
>
>
> I tried to replace the EcommerceUilabels.properties and the
> EcommerceUilabels_th.properties file with EcommerceUilabels.xml file.
> But then i get the error:  could not find resource: EcommerceUiLabels
> for locale en_US
> Attached the new xml file.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-1578) usage of new resource bundle not working in ecommerce

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Jacques Le Roux commented on OFBIZ-1578:
----------------------------------------

Hi Hans,

Im' fine with replacing by XML but perhaps we could keep the properties files for a while (clearly marking them deprecated inside) ?

> usage of new resource bundle not working in ecommerce
> -----------------------------------------------------
>
>                 Key: OFBIZ-1578
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1578
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Hans Bakker
>            Assignee: Adrian Crum
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: EcommerceUiLabels.xml, EcommerceUiLabels.xml
>
>
> I tried to replace the EcommerceUilabels.properties and the
> EcommerceUilabels_th.properties file with EcommerceUilabels.xml file.
> But then i get the error:  could not find resource: EcommerceUiLabels
> for locale en_US
> Attached the new xml file.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-1578) usage of new resource bundle not working in ecommerce

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

David E. Jones commented on OFBIZ-1578:
---------------------------------------

Wouldn't keeping both be a real pain? I'd say delete them once replaced... if necessary we can always get them from the SVN history.

> usage of new resource bundle not working in ecommerce
> -----------------------------------------------------
>
>                 Key: OFBIZ-1578
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1578
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Hans Bakker
>            Assignee: Adrian Crum
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: EcommerceUiLabels.xml, EcommerceUiLabels.xml
>
>
> I tried to replace the EcommerceUilabels.properties and the
> EcommerceUilabels_th.properties file with EcommerceUilabels.xml file.
> But then i get the error:  could not find resource: EcommerceUiLabels
> for locale en_US
> Attached the new xml file.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-1578) usage of new resource bundle not working in ecommerce

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Jacques Le Roux commented on OFBIZ-1578:
----------------------------------------

Yes I agree (I thought that before and then thought that  maybe in case of checking will be easier but SVN history is ok I reckon)

> usage of new resource bundle not working in ecommerce
> -----------------------------------------------------
>
>                 Key: OFBIZ-1578
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1578
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Hans Bakker
>            Assignee: Adrian Crum
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: EcommerceUiLabels.xml, EcommerceUiLabels.xml
>
>
> I tried to replace the EcommerceUilabels.properties and the
> EcommerceUilabels_th.properties file with EcommerceUilabels.xml file.
> But then i get the error:  could not find resource: EcommerceUiLabels
> for locale en_US
> Attached the new xml file.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-1578) usage of new resource bundle not working in ecommerce

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Adrian Crum commented on OFBIZ-1578:
------------------------------------

Keeping both would have unperdictable results.

Hans - I'll take a look at this issue sometime this week. I'm really swamped at work right now, so I'll get to it as soon as I can.


> usage of new resource bundle not working in ecommerce
> -----------------------------------------------------
>
>                 Key: OFBIZ-1578
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1578
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Hans Bakker
>            Assignee: Adrian Crum
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: EcommerceUiLabels.xml, EcommerceUiLabels.xml
>
>
> I tried to replace the EcommerceUilabels.properties and the
> EcommerceUilabels_th.properties file with EcommerceUilabels.xml file.
> But then i get the error:  could not find resource: EcommerceUiLabels
> for locale en_US
> Attached the new xml file.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-1578) usage of new resource bundle not working in ecommerce

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Jacques Le Roux commented on OFBIZ-1578:
----------------------------------------

I was not thinking at keeping them as is, but to change extension to .bak or something (the idea was to avoid to have to retrieve them from repo in case of need).

> usage of new resource bundle not working in ecommerce
> -----------------------------------------------------
>
>                 Key: OFBIZ-1578
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1578
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Hans Bakker
>            Assignee: Adrian Crum
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: EcommerceUiLabels.xml, EcommerceUiLabels.xml
>
>
> I tried to replace the EcommerceUilabels.properties and the
> EcommerceUilabels_th.properties file with EcommerceUilabels.xml file.
> But then i get the error:  could not find resource: EcommerceUiLabels
> for locale en_US
> Attached the new xml file.

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

Reply | Threaded
Open this post in threaded view
|

Re: [jira] Commented: (OFBIZ-1578) usage of new resource bundle not working in ecommerce

hans_bakker
In reply to this post by Nicolas Malin (Jira)
Hi Adrian,

you missed my comment....? it is working now.
Currently we are optimizing our conversion program so we do not loose
anything.
In the next few weeks we will convert all language properties files....

Regards,
Hans


On Wed, 2008-01-16 at 08:14 -0800, Adrian Crum (JIRA) wrote:

> [ https://issues.apache.org/jira/browse/OFBIZ-1578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12559556#action_12559556 ]
>
> Adrian Crum commented on OFBIZ-1578:
> ------------------------------------
>
> Keeping both would have unperdictable results.
>
> Hans - I'll take a look at this issue sometime this week. I'm really swamped at work right now, so I'll get to it as soon as I can.
>
>
> > usage of new resource bundle not working in ecommerce
> > -----------------------------------------------------
> >
> >                 Key: OFBIZ-1578
> >                 URL: https://issues.apache.org/jira/browse/OFBIZ-1578
> >             Project: OFBiz
> >          Issue Type: Bug
> >          Components: framework
> >    Affects Versions: SVN trunk
> >            Reporter: Hans Bakker
> >            Assignee: Adrian Crum
> >            Priority: Minor
> >             Fix For: SVN trunk
> >
> >         Attachments: EcommerceUiLabels.xml, EcommerceUiLabels.xml
> >
> >
> > I tried to replace the EcommerceUilabels.properties and the
> > EcommerceUilabels_th.properties file with EcommerceUilabels.xml file.
> > But then i get the error:  could not find resource: EcommerceUiLabels
> > for locale en_US
> > Attached the new xml file.
>
--
AntWebsystems.com: Quality OFBiz services for competitive rates.....