[jboss-jira] [JBoss JIRA] (JGRP-1475) Convert project to use i18n logging and exceptions

Bela Ban (JIRA) jira-events at lists.jboss.org
Wed Sep 19 11:00:35 EDT 2012


    [ https://issues.jboss.org/browse/JGRP-1475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12719960#comment-12719960 ] 

Bela Ban edited comment on JGRP-1475 at 9/19/12 10:59 AM:
----------------------------------------------------------

The resource bundle is JGroups/conf/jg-messages.properties. Other languages can be added by simply dropping a jg-messages_XX.properties onto the classpath (doesn't even need to be part of JGroups), e.g. jg-messages_fr.properties for a French translation.
To try out, either set LANG or use -Duser.language=XX (where XX is the country identifier, e.g. 'fr' or 'de'). Currently, there's a jg-messages_de.properties for the German translation.
                
      was (Author: belaban):
    The resource bundle is JGroups/conf/jg-messages.properties. Other languages can be added by simply dropping a jg-messages_XX.properties onto the classpath (doesn't even need to be part of JGroups), e.g. jg-messages_fr.properties for a French translation.
To try out, either set LANG or use -Duser.language=XX. Currently, there's a jg-messages_de.properties for the German translation.
                  
> Convert project to use i18n logging and exceptions
> --------------------------------------------------
>
>                 Key: JGRP-1475
>                 URL: https://issues.jboss.org/browse/JGRP-1475
>             Project: JGroups
>          Issue Type: Task
>            Reporter: James Perkins
>            Assignee: Bela Ban
>            Priority: Minor
>             Fix For: 3.2
>
>
> As per [ANDIAMO-7|https://issues.jboss.org/browse/ANDIAMO-7] all messages (logged and exceptions) need a unique id. This need to be done using JBoss Logging, [ANDIAMO-2|https://issues.jboss.org/browse/ANDIAMO-2]. See [https://community.jboss.org/docs/DOC-18453] for information on configuring the loggers and message bundles.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list