[ https://issues.apache.org/jira/browse/FELIX-3878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14354511#comment-14354511 ]
Valentin Valchev commented on FELIX-3878: ----------------------------------------- Well, actually the web console uses the standard OSGi localization mechanism and that is to use the Bundle-Localization header, that points to a properties resource bundle. By default, the localization is not metatype.properties but OSGI-INF/l10n/bundle.properties To localize the bundle name/description you should set it's manifest like: Bundle-Name: %bundle.name and have the following property in the resource bundle: bundle.name=My Localized Bundle name The above mechanism already works in the Web Console in the Bundles plugin. You just need to install one of the locale bundles and select the required locale. If available, the name of the bundle will be shown as expected. I'm not sure though, that we support localization of service.description registration property. Am I missing something from the OSGi spec? > Use metatype name and description in bundles and services consoles > ------------------------------------------------------------------ > > Key: FELIX-3878 > URL: https://issues.apache.org/jira/browse/FELIX-3878 > Project: Felix > Issue Type: Improvement > Components: Web Console > Reporter: Jeff Young > Priority: Minor > > The configMgr console fetches out the name and description from the > OSGI-INF/metatype/metatype.properties file. It'd be nice if the bundles and > services consoles did as well. > You can currently get a description in the bundles and services consoles by > using the service.description property, but it's sub-optimal to have to > duplicate it between the metatype.properties file and the source file, and > the one in the source file is harder on translators. -- This message was sent by Atlassian JIRA (v6.3.4#6332)