sustitución de internacionalización plugin.properties y plugin.xml

I have an eclipse plugin that is suffering from failing to substitute strings in plugin.xml.

I'm building it with tycho, but I don't know if that has anything to do with it.

The resulting jar has plugin.xml and plugin.properties at top level.

For an example, in plugin.xml, I have

 <editor
        name="%editor.name"
  ... 
 >

and then in plugin.properties:

editor.name=Doxia APT Editor

But in the "Open With" menu in eclipse indigo, I see %editor.name.

¿Qué estoy haciendo mal?

preguntado el 27 de agosto de 11 a las 22:08

1 Respuestas

Is it the only missing string? If all of them are wrong, you may check if you correctly included the "Bundle-Localization: " key on your MANIFEST.MF file.

This key should have the properties file name as its value, without the ".properties" extension.

Respondido 29 ago 11, 15:08

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.