You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Yeray Cabrera Santana (JIRA)" <de...@geronimo.apache.org> on 2006/03/27 14:10:31 UTC

[jira] Created: (GERONIMO-1775) Internationalization of the Admin Console

Internationalization of the Admin Console
-----------------------------------------

         Key: GERONIMO-1775
         URL: http://issues.apache.org/jira/browse/GERONIMO-1775
     Project: Geronimo
        Type: Improvement
  Components: console  
    Reporter: Yeray Cabrera Santana
    Priority: Minor


Provide the internationalization of the administration console so it can be translated to different languages. This is a feature I would like to contribute with.

-- 
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


Re: [jira] Created: (GERONIMO-1775) Internationalization of the Admin Console

Posted by Donald Woods <dr...@yahoo.com>.
Yes, please open a separate JIRA for the Welcome App and attach the 
updates as a patch.

Have you looked at using the commons-i18n project?
Are you proposing using normal resource bundles for the Java code behind 
the Portlets, since there are some hard-coded strings returned from 
there to the Portlets today?

Also, take a look a GERONIMO-1413, which is required for basic English 
support on other locale browsers.



-Donald


Sean McCarthy wrote:
> Hi,
> 
> We would like to start working on the translation (Yeray and me). But 
> before that, we'd like to hear about the way we should do it.
> 
> We have internationalized and translated the welcome page into Spanish 
> using the jakarta taglibs-i18n with resource bundles.
> 
> If there's not problem about using these libs, they have to be added to 
> one repo (or point us to the right one) because we haven't found them on 
> any maven repository (we've checked the repos available in the 
> project.properties). Also we would like to know which is the preferred 
> way to bundle the resources:  package name, resource bundle name, 
> specific naming for the resources, etc.
> 
> We can attach the internationalized version of the "welcome" webapp to 
> the Jira issue to have a look at the way we are doing it.
> 
> Regards,
> 
>     Sean
> 
> Yeray Cabrera Santana (JIRA) wrote:
> 
>> Internationalization of the Admin Console
>> -----------------------------------------
>>
>>          Key: GERONIMO-1775
>>          URL: http://issues.apache.org/jira/browse/GERONIMO-1775
>>      Project: Geronimo
>>         Type: Improvement
>>   Components: console      Reporter: Yeray Cabrera Santana
>>     Priority: Minor
>>
>>
>> Provide the internationalization of the administration console so it 
>> can be translated to different languages. This is a feature I would 
>> like to contribute with.
>>

Re: [jira] Created: (GERONIMO-1775) Internationalization of the Admin Console

Posted by Paul McMahan <pa...@gmail.com>.
Hi,  I think this is an important item and appreciate you taking the
initiative on it.  If you're interested in breaking this up into
subtasks then I'm willing to help out.  Unfortunately I don't know a
second language well enough to help with translation but I can help
code :-)

As for the specifics, I think it would make sense to use a similar
approach that Apache Jetspeed2 uses for its admin console.  You can
inspect the src here:
https://svn.apache.org/repos/asf/portals/jetspeed-2/trunk/applications/j2-admin/

Specfically:
-  use org.apache.geronimo.console.xyz.resources for package names
-  use <PortletName>Resources.properties for the file names
-  use <PortletName>.[label | msg | error].key for the resource names
   (this seems to be a mixed bag, though)

Also instead of the standalone i18n library I think it would be more
strategic to use the JCP standardized tag library v1.1 (which I
believe it supercedes).

What do you think?


Best wishes,
Paul

On 3/27/06, Sean McCarthy <sm...@integraas.com> wrote:
> Hi,
>
> We would like to start working on the translation (Yeray and me). But
> before that, we'd like to hear about the way we should do it.
>
> We have internationalized and translated the welcome page into Spanish
> using the jakarta taglibs-i18n with resource bundles.
>
> If there's not problem about using these libs, they have to be added to
> one repo (or point us to the right one) because we haven't found them on
> any maven repository (we've checked the repos available in the
> project.properties). Also we would like to know which is the preferred
> way to bundle the resources:  package name, resource bundle name,
> specific naming for the resources, etc.
>
> We can attach the internationalized version of the "welcome" webapp to
> the Jira issue to have a look at the way we are doing it.
>
> Regards,
>
>         Sean
>
> Yeray Cabrera Santana (JIRA) wrote:
> > Internationalization of the Admin Console
> > -----------------------------------------
> >
> >          Key: GERONIMO-1775
> >          URL: http://issues.apache.org/jira/browse/GERONIMO-1775
> >      Project: Geronimo
> >         Type: Improvement
> >   Components: console
> >     Reporter: Yeray Cabrera Santana
> >     Priority: Minor
> >
> >
> > Provide the internationalization of the administration console so it can be translated to different languages. This is a feature I would like to contribute with.
> >
> --
>     Sean C. McCarthy
>     Integra Soluciones Avanzadas, S.L.
>     Tlf: +34928465203
>     C/ Juan Domínguez Pérez 28, Urb El Sebadal
>     Las Palmas de Gran Canaria (35008)
>     SPAIN
>
>
>

Re: [jira] Created: (GERONIMO-1775) Internationalization of the Admin Console

Posted by Sean McCarthy <sm...@integraas.com>.
Hi,

We would like to start working on the translation (Yeray and me). But 
before that, we'd like to hear about the way we should do it.

We have internationalized and translated the welcome page into Spanish 
using the jakarta taglibs-i18n with resource bundles.

If there's not problem about using these libs, they have to be added to 
one repo (or point us to the right one) because we haven't found them on 
any maven repository (we've checked the repos available in the 
project.properties). Also we would like to know which is the preferred 
way to bundle the resources:  package name, resource bundle name, 
specific naming for the resources, etc.

We can attach the internationalized version of the "welcome" webapp to 
the Jira issue to have a look at the way we are doing it.

Regards,

	Sean

Yeray Cabrera Santana (JIRA) wrote:
> Internationalization of the Admin Console
> -----------------------------------------
> 
>          Key: GERONIMO-1775
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1775
>      Project: Geronimo
>         Type: Improvement
>   Components: console  
>     Reporter: Yeray Cabrera Santana
>     Priority: Minor
> 
> 
> Provide the internationalization of the administration console so it can be translated to different languages. This is a feature I would like to contribute with.
> 
-- 
    Sean C. McCarthy
    Integra Soluciones Avanzadas, S.L.
    Tlf: +34928465203
    C/ Juan Domínguez Pérez 28, Urb El Sebadal
    Las Palmas de Gran Canaria (35008)
    SPAIN

[jira] Updated: (GERONIMO-1775) Internationalization of the Admin Console

Posted by "YunFeng Ma (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-1775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

YunFeng Ma updated GERONIMO-1775:
---------------------------------

    Attachment: chinese_console.JPG

The Chinese console screen.  :)

> Internationalization of the Admin Console
> -----------------------------------------
>
>                 Key: GERONIMO-1775
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-1775
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: console
>            Reporter: Yeray Cabrera Santana
>            Priority: Minor
>         Attachments: chinese_console.JPG, GERONIMO-1775.patch
>
>
> Provide the internationalization of the administration console so it can be translated to different languages. This is a feature I would like to contribute with.

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


[jira] Commented: (GERONIMO-1775) Internationalization of the Admin Console

Posted by "David Jencks (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-1775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12564340#action_12564340 ] 

David Jencks commented on GERONIMO-1775:
----------------------------------------

2nd patch applied in rev 617070 with spelling corrections.

I think the new files appeared twice in the patch.  Also if you could avoid tabs in the future that would be appreciated.

I'm not sure if you want to do more work on this jira, please close if you consider it done.

> Internationalization of the Admin Console
> -----------------------------------------
>
>                 Key: GERONIMO-1775
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-1775
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: console
>            Reporter: Yeray Cabrera Santana
>            Assignee: David Jencks
>            Priority: Minor
>             Fix For: 2.1
>
>         Attachments: chinese_console.JPG, GERONIMO-1775-1.patch, GERONIMO-1775-2.patch, GERONIMO-1775.patch, screen1.GIF
>
>
> Provide the internationalization of the administration console so it can be translated to different languages. This is a feature I would like to contribute with.

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


[jira] Updated: (GERONIMO-1775) Internationalization of the Admin Console

Posted by "YunFeng Ma (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-1775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

YunFeng Ma updated GERONIMO-1775:
---------------------------------

    Attachment: screen1.GIF

A screen shot of the i18n support for Console Navigation and Portlet header.

> Internationalization of the Admin Console
> -----------------------------------------
>
>                 Key: GERONIMO-1775
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-1775
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: console
>            Reporter: Yeray Cabrera Santana
>            Assignee: Donald Woods
>            Priority: Minor
>             Fix For: 2.1
>
>         Attachments: chinese_console.JPG, GERONIMO-1775-1.patch, GERONIMO-1775-2.patch, GERONIMO-1775.patch, screen1.GIF
>
>
> Provide the internationalization of the administration console so it can be translated to different languages. This is a feature I would like to contribute with.

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


[jira] Assigned: (GERONIMO-1775) Internationalization of the Admin Console

Posted by "David Jencks (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-1775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Jencks reassigned GERONIMO-1775:
--------------------------------------

    Assignee: David Jencks  (was: Donald Woods)

> Internationalization of the Admin Console
> -----------------------------------------
>
>                 Key: GERONIMO-1775
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-1775
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: console
>            Reporter: Yeray Cabrera Santana
>            Assignee: David Jencks
>            Priority: Minor
>             Fix For: 2.1
>
>         Attachments: chinese_console.JPG, GERONIMO-1775-1.patch, GERONIMO-1775-2.patch, GERONIMO-1775.patch, screen1.GIF
>
>
> Provide the internationalization of the administration console so it can be translated to different languages. This is a feature I would like to contribute with.

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


[jira] Assigned: (GERONIMO-1775) Internationalization of the Admin Console

Posted by "Erik B. Craig (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-1775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Erik B. Craig reassigned GERONIMO-1775:
---------------------------------------

    Assignee:     (was: Erik B. Craig)

> Internationalization of the Admin Console
> -----------------------------------------
>
>                 Key: GERONIMO-1775
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-1775
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: console
>            Reporter: Yeray Cabrera Santana
>            Priority: Minor
>
> Provide the internationalization of the administration console so it can be translated to different languages. This is a feature I would like to contribute with.

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


[jira] Assigned: (GERONIMO-1775) Internationalization of the Admin Console

Posted by "Erik B. Craig (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-1775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Erik B. Craig reassigned GERONIMO-1775:
---------------------------------------

    Assignee: Erik B. Craig

> Internationalization of the Admin Console
> -----------------------------------------
>
>                 Key: GERONIMO-1775
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-1775
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: console
>            Reporter: Yeray Cabrera Santana
>         Assigned To: Erik B. Craig
>            Priority: Minor
>
> Provide the internationalization of the administration console so it can be translated to different languages. This is a feature I would like to contribute with.

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


[jira] Commented: (GERONIMO-1775) Internationalization of the Admin Console

Posted by "Kan Ogawa (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-1775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12495860 ] 

Kan Ogawa commented on GERONIMO-1775:
-------------------------------------

An approach to provide for simple externalized message resources like ResourceBundle will be very toilsome because of high cost.
I think that the hard-coding the translated texts in jsp sources is rather easy.
(A problem is location to deploy the JSPs that the translated texts were written.)

Is there the good approach else?

> Internationalization of the Admin Console
> -----------------------------------------
>
>                 Key: GERONIMO-1775
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-1775
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: console
>            Reporter: Yeray Cabrera Santana
>            Priority: Minor
>
> Provide the internationalization of the administration console so it can be translated to different languages. This is a feature I would like to contribute with.

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


[jira] Updated: (GERONIMO-1775) Internationalization of the Admin Console

Posted by "YunFeng Ma (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-1775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

YunFeng Ma updated GERONIMO-1775:
---------------------------------

    Attachment: GERONIMO-1775.patch

I submitted a patch for this. The implementation is using JSTL provided in Geronimo. I've replaced all the messages in all JSP using codes like "<fmt:message key="securityrealmmanager.se.users.help.confirmPasswordExp"/>". The resouce bundle file is in plugins\console\console-base-portlets\src\main\resources. I also provided a Chinese version of the resource bundle. I think this provides a opportunity for anyone who is interested in translating the resource bundle to other language. Any comment and suggestion is welcome. :)

The next improvements need to do are:
1. Globalize the Console Navigation
2. Globalize the Portlet header
3. Globalize the other console plugins(such as the System-database console plugin)

> Internationalization of the Admin Console
> -----------------------------------------
>
>                 Key: GERONIMO-1775
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-1775
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: console
>            Reporter: Yeray Cabrera Santana
>            Priority: Minor
>         Attachments: GERONIMO-1775.patch
>
>
> Provide the internationalization of the administration console so it can be translated to different languages. This is a feature I would like to contribute with.

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


[jira] Commented: (GERONIMO-1775) Internationalization of the Admin Console

Posted by "David Jencks (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-1775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12558524#action_12558524 ] 

David Jencks commented on GERONIMO-1775:
----------------------------------------

I applied the 1775-1 patch in rev 611728 since I want to fix the windows build problem by renaming some system-database stuff. Please check that it works.  The console testsuite passes for me.

Also if you could check the modifications I made to separate out the "plugin" console plugin I'd appreciate it.

> Internationalization of the Admin Console
> -----------------------------------------
>
>                 Key: GERONIMO-1775
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-1775
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: console
>            Reporter: Yeray Cabrera Santana
>            Assignee: Donald Woods
>            Priority: Minor
>             Fix For: 2.1
>
>         Attachments: chinese_console.JPG, GERONIMO-1775-1.patch, GERONIMO-1775.patch
>
>
> Provide the internationalization of the administration console so it can be translated to different languages. This is a feature I would like to contribute with.

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


[jira] Updated: (GERONIMO-1775) Internationalization of the Admin Console

Posted by "YunFeng Ma (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-1775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

YunFeng Ma updated GERONIMO-1775:
---------------------------------

    Attachment: GERONIMO-1775-2.patch

The patch GERONIMO-1775-2 enable the i18n support for Console Navigation and Portlet header. The design is that each console extension provides its own properties files to support i18n, but the Console Navigation and Portlet header are rendered in console-portal-driver. So each console extension has to register its properties files to a central registery when it starts, console-portal-driver can load the properties files in the registery to support i18n.

Please review the implementation and any suggestion is welcome. Thanks  a lot.

> Internationalization of the Admin Console
> -----------------------------------------
>
>                 Key: GERONIMO-1775
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-1775
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: console
>            Reporter: Yeray Cabrera Santana
>            Assignee: Donald Woods
>            Priority: Minor
>             Fix For: 2.1
>
>         Attachments: chinese_console.JPG, GERONIMO-1775-1.patch, GERONIMO-1775-2.patch, GERONIMO-1775.patch
>
>
> Provide the internationalization of the administration console so it can be translated to different languages. This is a feature I would like to contribute with.

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


[jira] Issue Comment Edited: (GERONIMO-1775) Internationalization of the Admin Console

Posted by "Anita Kulshreshtha (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-1775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12559487#action_12559487 ] 

akulshre edited comment on GERONIMO-1775 at 1/16/08 6:02 AM:
-----------------------------------------------------------------------

could you have used the i18N facilities defined by  PLT.6.2 Portlet Resource Bundle and PLT.21.10 Resource Bundles in the JSR 168 Specification?
e.g. somehing like the following in portlet.xml and use standard keywords javax.portlet.title, javax.portlet.short-title, and
javax.portlet.keywords.

{code:xml}
<portlet>
.......................................
<supported-locale>zh</supported-locale>
<resource-bundle>com.foo.myApp.QuotePortlet</resource-bundle>
<portlet-info>
     <title>Stock Quote Portlet</title>
     <short-title>Stock</short-title>
     <keywords>finance,stock market</keywords>
</portlet-info>
...
</portlet>
{code}

      was (Author: akulshre):
    could you have used the i18N facilities defined by  PLT.6.2 Portlet Resource Bundle and PLT.21.10 Resource Bundles in the JSR 168 Specification?
e.g. somehing like this in portlet.xml:

{code:xml}
<portlet>
...
<portlet-info>
     <title>Stock Quote Portlet</title>
     <short-title>Stock</short-title>
     <keywords>finance,stock market</keywords>
     <resource-bundle>com.foo.myApp.QuotePortlet</resource-bundle>
</portlet-info>
...
</portlet>
{code}
  
> Internationalization of the Admin Console
> -----------------------------------------
>
>                 Key: GERONIMO-1775
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-1775
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: console
>            Reporter: Yeray Cabrera Santana
>            Assignee: Donald Woods
>            Priority: Minor
>             Fix For: 2.1
>
>         Attachments: chinese_console.JPG, GERONIMO-1775-1.patch, GERONIMO-1775-2.patch, GERONIMO-1775.patch, screen1.GIF
>
>
> Provide the internationalization of the administration console so it can be translated to different languages. This is a feature I would like to contribute with.

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


[jira] Commented: (GERONIMO-1775) Internationalization of the Admin Console

Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-1775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12556465#action_12556465 ] 

Donald Woods commented on GERONIMO-1775:
----------------------------------------

The patch from YunFeng on 1/2/08 has been applied as Rev609207 in trunk.
There are several of the base portlets that still need translated strings.
Also, we need to update the console tests in the testsuite to use the resource bundles instead of the current hard coded strings, so the tests can be run to verify the Console strings/operations in other locales.


> Internationalization of the Admin Console
> -----------------------------------------
>
>                 Key: GERONIMO-1775
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-1775
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: console
>            Reporter: Yeray Cabrera Santana
>            Assignee: Donald Woods
>            Priority: Minor
>             Fix For: 2.1
>
>         Attachments: chinese_console.JPG, GERONIMO-1775.patch
>
>
> Provide the internationalization of the administration console so it can be translated to different languages. This is a feature I would like to contribute with.

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


[jira] Assigned: (GERONIMO-1775) Internationalization of the Admin Console

Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-1775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Donald Woods reassigned GERONIMO-1775:
--------------------------------------

    Assignee: Donald Woods

> Internationalization of the Admin Console
> -----------------------------------------
>
>                 Key: GERONIMO-1775
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-1775
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: console
>            Reporter: Yeray Cabrera Santana
>            Assignee: Donald Woods
>            Priority: Minor
>             Fix For: 2.1
>
>         Attachments: chinese_console.JPG, GERONIMO-1775.patch
>
>
> Provide the internationalization of the administration console so it can be translated to different languages. This is a feature I would like to contribute with.

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


[jira] Updated: (GERONIMO-1775) Internationalization of the Admin Console

Posted by "YunFeng Ma (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-1775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

YunFeng Ma updated GERONIMO-1775:
---------------------------------

    Attachment: GERONIMO-1775-1.patch

New patch GERONIMO-1775-1 provides the following contents:
   1. Some fixes for console-base-portlets
   2. i18n support for activemq-portlets
   3. i18n support for debugviews-portlets
   4. i18n support for system-database-portlets

The console testsuite still failed, but I believe it's because of the changes of other components, I've opened a JIRA for this: https://issues.apache.org/jira/browse/GERONIMO-3737

> Internationalization of the Admin Console
> -----------------------------------------
>
>                 Key: GERONIMO-1775
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-1775
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: console
>            Reporter: Yeray Cabrera Santana
>            Assignee: Donald Woods
>            Priority: Minor
>             Fix For: 2.1
>
>         Attachments: chinese_console.JPG, GERONIMO-1775-1.patch, GERONIMO-1775.patch
>
>
> Provide the internationalization of the administration console so it can be translated to different languages. This is a feature I would like to contribute with.

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


[jira] Commented: (GERONIMO-1775) Internationalization of the Admin Console

Posted by "YunFeng Ma (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-1775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12564282#action_12564282 ] 

YunFeng Ma commented on GERONIMO-1775:
--------------------------------------

Sorry for the late reply. I've tried the I18N support of JSR 168 and I found the following disadvantages:
  1. Each portlet needs a set of properties files. For example, for ClassLoaderViewer, we need ClassLoaderViewer.properties and ClassLoaderViewer_zh.properties ...;  for DependencyViewer, we need DependencyViewer.properties and DependencyViewer_zh.properties .....  Each properties file can have only three lines. There will be a lot of properties files.
  2. JSR 168 just supports the I18N of Portlet Info, that means the portlet header. For the Console Navigation (the left side of the console), we still need our own codes to implement.

I think that putting all the portlet I18N info in the same console plugin  into one properties file is more convenient to maintain and translate.  Any other better way for this?   Thanks a lot. 

> Internationalization of the Admin Console
> -----------------------------------------
>
>                 Key: GERONIMO-1775
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-1775
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: console
>            Reporter: Yeray Cabrera Santana
>            Assignee: Donald Woods
>            Priority: Minor
>             Fix For: 2.1
>
>         Attachments: chinese_console.JPG, GERONIMO-1775-1.patch, GERONIMO-1775-2.patch, GERONIMO-1775.patch, screen1.GIF
>
>
> Provide the internationalization of the administration console so it can be translated to different languages. This is a feature I would like to contribute with.

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


[jira] Resolved: (GERONIMO-1775) Internationalization of the Admin Console

Posted by "Kevan Miller (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-1775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevan Miller resolved GERONIMO-1775.
------------------------------------

    Resolution: Fixed

I'm resolving this issue. 

YunFeng please re-open or create a new jira, if you want to add additional features. Thanks for your help! 


> Internationalization of the Admin Console
> -----------------------------------------
>
>                 Key: GERONIMO-1775
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-1775
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: console
>            Reporter: Yeray Cabrera Santana
>            Assignee: David Jencks
>            Priority: Minor
>             Fix For: 2.1
>
>         Attachments: chinese_console.JPG, GERONIMO-1775-1.patch, GERONIMO-1775-2.patch, GERONIMO-1775.patch, screen1.GIF
>
>
> Provide the internationalization of the administration console so it can be translated to different languages. This is a feature I would like to contribute with.

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


[jira] Commented: (GERONIMO-1775) Internationalization of the Admin Console

Posted by "Anita Kulshreshtha (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-1775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12559487#action_12559487 ] 

Anita Kulshreshtha commented on GERONIMO-1775:
----------------------------------------------

could you have used the i18N facilities defined by  PLT.6.2 Portlet Resource Bundle and PLT.21.10 Resource Bundles in the JSR 168 Specification?
e.g. somehing like this in portlet.xml:

{code:xml}
<portlet>
...
<portlet-info>
     <title>Stock Quote Portlet</title>
     <short-title>Stock</short-title>
     <keywords>finance,stock market</keywords>
     <resource-bundle>com.foo.myApp.QuotePortlet</resource-bundle>
</portlet-info>
...
</portlet>
{code}

> Internationalization of the Admin Console
> -----------------------------------------
>
>                 Key: GERONIMO-1775
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-1775
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: console
>            Reporter: Yeray Cabrera Santana
>            Assignee: Donald Woods
>            Priority: Minor
>             Fix For: 2.1
>
>         Attachments: chinese_console.JPG, GERONIMO-1775-1.patch, GERONIMO-1775-2.patch, GERONIMO-1775.patch, screen1.GIF
>
>
> Provide the internationalization of the administration console so it can be translated to different languages. This is a feature I would like to contribute with.

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


[jira] Commented: (GERONIMO-1775) Internationalization of the Admin Console

Posted by "YunFeng Ma (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-1775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12559893#action_12559893 ] 

YunFeng Ma commented on GERONIMO-1775:
--------------------------------------

Thanks for pointing me this, Anita. I'll have a look at JSR 168.

> Internationalization of the Admin Console
> -----------------------------------------
>
>                 Key: GERONIMO-1775
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-1775
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: console
>            Reporter: Yeray Cabrera Santana
>            Assignee: Donald Woods
>            Priority: Minor
>             Fix For: 2.1
>
>         Attachments: chinese_console.JPG, GERONIMO-1775-1.patch, GERONIMO-1775-2.patch, GERONIMO-1775.patch, screen1.GIF
>
>
> Provide the internationalization of the administration console so it can be translated to different languages. This is a feature I would like to contribute with.

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


[jira] Updated: (GERONIMO-1775) Internationalization of the Admin Console

Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-1775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Donald Woods updated GERONIMO-1775:
-----------------------------------

       Patch Info: [Patch Available]
    Fix Version/s: 2.1

> Internationalization of the Admin Console
> -----------------------------------------
>
>                 Key: GERONIMO-1775
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-1775
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: console
>            Reporter: Yeray Cabrera Santana
>            Assignee: Donald Woods
>            Priority: Minor
>             Fix For: 2.1
>
>         Attachments: chinese_console.JPG, GERONIMO-1775.patch
>
>
> Provide the internationalization of the administration console so it can be translated to different languages. This is a feature I would like to contribute with.

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