Home » Eclipse Projects » Eclipse Platform » plugin.properties with dots in labels
plugin.properties with dots in labels [message #290651] |
Mon, 29 August 2005 08:33  |
Eclipse User |
|
|
|
Originally posted by: a.schuring.topdesk.nl
I encountered a strange artifact when exporting my plugin to a jar file:
all translatable labels with dots were suddenly intranslatable. Replacing
the dots with underscores resolved the problem.
For example, I had a preference page label like %plugin.preferencePage and
a corresponding entry in plugin.properties. When deployed as a jar, the
preference page had the label "%plugin.preferencePage" instead of the
translated name.
When deploying the same plugin as files (instead of as .jar), the problem
did not occur.
Is this by design?
(btw I'm using Eclipse 3.1)
Regards,
Arno
|
|
| | | | |
Re: plugin.properties with dots in labels [message #291484 is a reply to message #291477] |
Fri, 16 September 2005 10:27   |
Eclipse User |
|
|
|
Originally posted by: mdiggory.apache.org
Yes, I understand the logic behind the name change.
I've got an immediate need, I went and filtered all the properties file
in the language pack to have underscores instead of dots. But will use
whatever the new language pack has instead when it comes out.
thanks,
Mark
Ed Merks wrote:
> Mark,
>
> I'm not absolutely sure, but I think the new translation package will be
> available with 3.1.1 around the end of the month. Probably the names
> were changed to not use "." so that they could be used as Java
> identifiers to support the generation of an interface that gives access
> to all the name properties and can populate itself reflectively by
> mapping field name to property IDs.
>
>
> Mark Diggory wrote:
>
>> Alex Blewitt wrote:
>>
>>> Depending on which version of Eclipse you're running, you might want
>>> to take a look at
>>> http://help.eclipse.org/help31/topic/org.eclipse.platform.do c.isv/guide/product_def_nl.htm
>>>
>>>
>>> Specifically:
>>> The shape of NL fragments has evolved slightly since 2.1. Previously
>>> all translation files (including the plugin.properties) were provided
>>> in a jar. This was inconsistent since the plugin.properties file was
>>> provided at the root of the plug-in.
>>> To adapt your NL fragment to the new model, remove the
>>> plugin.properties translation files from the jar and put them at the
>>> root of the fragment as siblings of fragment.xml. For example, the
>>> new shape of the NL fragment for org.eclipse.ui.workbench is the
>>> following
>>
>>
>>
>>
>> I'm noticing that with the change to OSGi NLS that the
>> WorkBenchMessages in the translation pack are now no longer working
>> because to this same issue, is someone maintaing this translation pack?
>>
>> http://download.eclipse.org/eclipse/downloads/drops/L-3.0.1_ Translations-200409161125/index.php
>>
>>
>> Is there an upgraded translation pack?
>>
>>
>> -Mark Diggory
>
>
|
|
|
Re: plugin.properties with dots in labels [message #291489 is a reply to message #291484] |
Fri, 16 September 2005 12:49   |
Eclipse User |
|
|
|
Originally posted by: mdiggory.apache.org
This is a multi-part message in MIME format.
--------------080103030309030908080906
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
I've gotten most of what I need fixed in terms of translation by the
approach I took below. The only current issue is that for some reason
the ContentOutline and Properties Views are not getting translated even
though I've translated the properties for these in o.e.ui.views...
-Mark
Mark Diggory wrote:
> Yes, I understand the logic behind the name change.
>
> I've got an immediate need, I went and filtered all the properties file
> in the language pack to have underscores instead of dots. But will use
> whatever the new language pack has instead when it comes out.
>
> thanks,
> Mark
>
> Ed Merks wrote:
>
>> Mark,
>>
>> I'm not absolutely sure, but I think the new translation package will
>> be available with 3.1.1 around the end of the month. Probably the
>> names were changed to not use "." so that they could be used as Java
>> identifiers to support the generation of an interface that gives
>> access to all the name properties and can populate itself reflectively
>> by mapping field name to property IDs.
>>
>>
>> Mark Diggory wrote:
>>
>>> Alex Blewitt wrote:
>>>
>>>> Depending on which version of Eclipse you're running, you might want
>>>> to take a look at
>>>> http://help.eclipse.org/help31/topic/org.eclipse.platform.do c.isv/guide/product_def_nl.htm
>>>>
>>>>
>>>> Specifically:
>>>> The shape of NL fragments has evolved slightly since 2.1. Previously
>>>> all translation files (including the plugin.properties) were
>>>> provided in a jar. This was inconsistent since the plugin.properties
>>>> file was provided at the root of the plug-in.
>>>> To adapt your NL fragment to the new model, remove the
>>>> plugin.properties translation files from the jar and put them at the
>>>> root of the fragment as siblings of fragment.xml. For example, the
>>>> new shape of the NL fragment for org.eclipse.ui.workbench is the
>>>> following
>>>
>>>
>>>
>>>
>>>
>>> I'm noticing that with the change to OSGi NLS that the
>>> WorkBenchMessages in the translation pack are now no longer working
>>> because to this same issue, is someone maintaing this translation pack?
>>>
>>> http://download.eclipse.org/eclipse/downloads/drops/L-3.0.1_ Translations-200409161125/index.php
>>>
>>>
>>> Is there an upgraded translation pack?
>>>
>>>
>>> -Mark Diggory
>>
>>
>>
--------------080103030309030908080906
Content-Type: image/png;
name="snap.png"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
filename="snap.png"
iVBORw0KGgoAAAANSUhEUgAAAPkAAACVCAIAAAAVG8vmAAAACXBIWXMAAA7D AAAOwwHHb6hk
AAAFW0lEQVR4nO3cXWscVRzH8RERBCksuIJQBEECBREEEUToneAbMAiCCCUF F8E0CIIQKIIg
BEQQGsg7CGyu2lfgG0gh3vSuLRVtysaipq4PrMeLhfHk/M+cfZglM3N+3+VD mJ6cmZyZ/XaS
zUKK4t37gISn3rkNKChGx3cABbQOFbQOFbQOFbQOFbQOFbQOFbQOFbQOFbQO FbQOFbQOFbQO
FbQOFbQOFbQOFbQOFbQOFbQOFYXjwUPjwX0dKmgdKmgdKmgdKmgdKmgdKmgd KmgdKmgdKmgd
KmgdKmgdKmgdKmgdKmgdKmgdKmgdKmgdKmgdKmgdKmgdKmgdKmgdKmgdKoqD /b2cRE+y8VWh
DXK7rx+Y3A/294r3HkixFwGjLH+G8Z/pg/29p9//URC5W/m3/swHPwmidSv/ 1p/98GdffzAM
BBPyQOvWuba+tbmRsKq9gtaf++ihrz8Y3v/DlfqDYTAhD7RunXfrVX8vON36 QnsFrV+4cuzr
D4aHI3c4crdP3OGJ6w+GF64cf//QBYK9OofWrW60Xue+3rv6yNcfDG/dndy8 O7l1b3Lz3qQ/
GPauPuqt74TO7tWs8mRnDpZo3erGzzB17uvPfzzy9QfD3aPx7g/j3aPx7tG4 PxgGE1bIObeS
45RXYGtzo2okQOtWB16b1mz9hU9OfPa1aTAhofy66TnBdnr+PPwrML0v+P+M 7kLrVv6tv/jp
LzOV3SfmOOei28tNW1T0ImxtblTNp3Ur/9YvXns8U299xznXW9+5e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0DhW0DhX/AehQbH8wpClEAAAAAElFTkSuQmCC
--------------080103030309030908080906--
|
|
|
Re: plugin.properties with dots in labels [message #291490 is a reply to message #291489] |
Fri, 16 September 2005 13:03   |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
This is a multi-part message in MIME format.
--------------070805000301010504070802
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Mark,
If you change the default/English versions, do those changes show up?
Mark Diggory wrote:
> I've gotten most of what I need fixed in terms of translation by the
> approach I took below. The only current issue is that for some reason
> the ContentOutline and Properties Views are not getting translated
> even though I've translated the properties for these in o.e.ui.views...
>
> -Mark
>
>
> Mark Diggory wrote:
>
>> Yes, I understand the logic behind the name change.
>>
>> I've got an immediate need, I went and filtered all the properties
>> file in the language pack to have underscores instead of dots. But
>> will use whatever the new language pack has instead when it comes out.
>>
>> thanks,
>> Mark
>>
>> Ed Merks wrote:
>>
>>> Mark,
>>>
>>> I'm not absolutely sure, but I think the new translation package
>>> will be available with 3.1.1 around the end of the month. Probably
>>> the names were changed to not use "." so that they could be used as
>>> Java identifiers to support the generation of an interface that
>>> gives access to all the name properties and can populate itself
>>> reflectively by mapping field name to property IDs.
>>>
>>>
>>> Mark Diggory wrote:
>>>
>>>> Alex Blewitt wrote:
>>>>
>>>>> Depending on which version of Eclipse you're running, you might
>>>>> want to take a look at
>>>>> http://help.eclipse.org/help31/topic/org.eclipse.platform.do c.isv/guide/product_def_nl.htm
>>>>>
>>>>>
>>>>> Specifically:
>>>>> The shape of NL fragments has evolved slightly since 2.1.
>>>>> Previously all translation files (including the plugin.properties)
>>>>> were provided in a jar. This was inconsistent since the
>>>>> plugin.properties file was provided at the root of the plug-in.
>>>>> To adapt your NL fragment to the new model, remove the
>>>>> plugin.properties translation files from the jar and put them at
>>>>> the root of the fragment as siblings of fragment.xml. For example,
>>>>> the new shape of the NL fragment for org.eclipse.ui.workbench is
>>>>> the following
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> I'm noticing that with the change to OSGi NLS that the
>>>> WorkBenchMessages in the translation pack are now no longer working
>>>> because to this same issue, is someone maintaing this translation
>>>> pack?
>>>>
>>>> http://download.eclipse.org/eclipse/downloads/drops/L-3.0.1_ Translations-200409161125/index.php
>>>>
>>>>
>>>> Is there an upgraded translation pack?
>>>>
>>>>
>>>> -Mark Diggory
>>>
>>>
>>>
>>>
>
> ------------------------------------------------------------ ------------
>
--------------070805000301010504070802
Content-Type: multipart/related;
boundary="------------020709030104030607060307"
--------------020709030104030607060307
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Mark,<br>
<br>
If you change the default/English versions, do those changes show up?<br>
<br>
<br>
Mark Diggory wrote:
<blockquote cite="mid432AF7A3.7080104@apache.org" type="cite">I've
gotten most of what I need fixed in terms of translation by the
approach I took below. The only current issue is that for some reason
the ContentOutline and Properties Views are not getting translated even
though I've translated the properties for these in o.e.ui.views...
<br>
<br>
-Mark
<br>
<br>
<br>
Mark Diggory wrote:
<br>
<blockquote type="cite">Yes, I understand the logic behind the name
change.
<br>
<br>
I've got an immediate need, I went and filtered all the properties file
in the language pack to have underscores instead of dots. But will use
whatever the new language pack has instead when it comes out.
<br>
<br>
thanks,
<br>
Mark
<br>
<br>
Ed Merks wrote:
<br>
<br>
<blockquote type="cite">Mark,
<br>
<br>
I'm not absolutely sure, but I think the new translation package will
be available with 3.1.1 around the end of the month. Probably the
names were changed to not use "." so that they could be used as Java
identifiers to support the generation of an interface that gives access
to all the name properties and can populate itself reflectively by
mapping field name to property IDs.
<br>
<br>
<br>
Mark Diggory wrote:
<br>
<br>
<blockquote type="cite">Alex Blewitt wrote:
<br>
<br>
<blockquote type="cite">Depending on which version of Eclipse
you're running, you might want to take a look at
<a class="moz-txt-link-freetext" href=" http://help.eclipse.org/help31/topic/org.eclipse.platform.do c.isv/guide/product_def_nl.htm"> http://help.eclipse.org/help31/topic/org.eclipse.platform.do c.isv/guide/product_def_nl.htm</a>
<br>
<br>
Specifically:
<br>
The shape of NL fragments has evolved slightly since 2.1. Previously
all translation files (including the plugin.properties) were provided
in a jar. This was inconsistent since the plugin.properties file was
provided at the root of the plug-in.
<br>
To adapt your NL fragment to the new model, remove the
plugin.properties translation files from the jar and put them at the
root of the fragment as siblings of fragment.xml. For example, the new
shape of the NL fragment for org.eclipse.ui.workbench is the following
<br>
</blockquote>
<br>
<br>
<br>
<br>
<br>
I'm noticing that with the change to OSGi NLS that the
WorkBenchMessages in the translation pack are now no longer working
because to this same issue, is someone maintaing this translation pack?
<br>
<br>
<a class="moz-txt-link-freetext" href=" http://download.eclipse.org/eclipse/downloads/drops/L-3.0.1_ Translations-200409161125/index.php"> http://download.eclipse.org/eclipse/downloads/drops/L-3.0.1_ Translations-200409161125/index.php</a>
<br>
<br>
Is there an upgraded translation pack?
<br>
<br>
<br>
-Mark Diggory
<br>
</blockquote>
<br>
<br>
<br>
</blockquote>
</blockquote>
<br>
<hr size="4" width="90%"><br>
<center><img src="cid:part1.02090500.05020901@ca.ibm.com"></center>
</blockquote>
<br>
</body>
</html>
--------------020709030104030607060307
Content-Type: image/png
Content-Transfer-Encoding: base64
Content-ID: <part1.02090500.05020901@ca.ibm.com>
iVBORw0KGgoAAAANSUhEUgAAAPkAAACVCAIAAAAVG8vmAAAACXBIWXMAAA7D AAAOwwHHb6hk
AAAFW0lEQVR4nO3cXWscVRzH8RERBCksuIJQBEECBREEEUToneAbMAiCCCUF F8E0CIIQKIIg
BEQQGsg7CGyu2lfgG0gh3vSuLRVtysaipq4PrMeLhfHk/M+cfZglM3N+3+VD mJ6cmZyZ/XaS
zUKK4t37gISn3rkNKChGx3cABbQOFbQOFbQOFbQOFbQOFbQOFbQOFbQOFbQO FbQOFbQOFbQO
FbQOFbQOFbQOFbQOFbQOF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2sFVfyC4muobEoRJHTq+/ak7is1XHTFzG9mj14pazUOv/XwgTWbA9/8g8 MxMT6iwjcZDE
GhLrX+5826m9K1taO1uP3qGDCZGnp0brVbfh4Aj+nKr7+szzrTq7VmnvypYW bb0wj9H5tl75
BJjy6iwjsaOdn17/cufbZt1Y5UKqWj9z2s21nvhC9ZeR2HGe7fqtR/8jtUTr FlTfSlofed+a
7Yj/jM5TSfRowUoSn515qKp9ozMTc+yNP/isPf3EkhovIbwgja9g5XjfFFG0 DhW0DhW0DhW0
DhW0DhW0DhW0DhW0DhW0DhW0DhW0DhW0DhW0DhW0DhW0DhW0DhW0DhW0DhW0 DhW0DhW0DhW0
DhW0DhW0DhW0DhW0DhW0DhW0DhW0DhW0DhW0DhW0DhW0DhW0DhW0DhW0DhW0 DhW0DhW0DhW0
DhW0DhW0DhW0DhW0DhW0DhW0DhW0DhW0DhW0DhW0DhW0DhW0DhW0DhW0DhW0 DhW0DhW0DhW0
DhW0DhW0DhW0DhW0DhW0DhW0DhW0DhX/AehQbH8wpClEAAAAAElFTkSuQmCC
--------------020709030104030607060307--
--------------070805000301010504070802--
|
|
|
Re: plugin.properties with dots in labels [message #291497 is a reply to message #291490] |
Fri, 16 September 2005 19:03   |
Eclipse User |
|
|
|
Originally posted by: mdiggory.apache.org
This is a multi-part message in MIME format.
--------------020309070300060505020403
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
I've attached my nls plugin in zip.
Only for the properties in the jar, not the plugin.properties.
o.e.ui.views/src/o.e.ui.internal.views.contentoutline/messag es.properties
o.e.ui.views/src/o.e.ui.internal.views.properties/messages.p roperties
but not
o.e.ui.views/plugin.properties
-Mark
Ed Merks wrote:
> Mark,
>
> If you change the default/English versions, do those changes show up?
>
>
> Mark Diggory wrote:
>
>> I've gotten most of what I need fixed in terms of translation by the
>> approach I took below. The only current issue is that for some reason
>> the ContentOutline and Properties Views are not getting translated
>> even though I've translated the properties for these in o.e.ui.views...
>>
>> -Mark
>>
>>
>> Mark Diggory wrote:
>>
>>> Yes, I understand the logic behind the name change.
>>>
>>> I've got an immediate need, I went and filtered all the properties
>>> file in the language pack to have underscores instead of dots. But
>>> will use whatever the new language pack has instead when it comes out.
>>>
>>> thanks,
>>> Mark
>>>
>>> Ed Merks wrote:
>>>
>>>> Mark,
>>>>
>>>> I'm not absolutely sure, but I think the new translation package
>>>> will be available with 3.1.1 around the end of the month. Probably
>>>> the names were changed to not use "." so that they could be used as
>>>> Java identifiers to support the generation of an interface that
>>>> gives access to all the name properties and can populate itself
>>>> reflectively by mapping field name to property IDs.
>>>>
>>>>
>>>> Mark Diggory wrote:
>>>>
>>>>> Alex Blewitt wrote:
>>>>>
>>>>>> Depending on which version of Eclipse you're running, you might
>>>>>> want to take a look at
>>>>>> http://help.eclipse.org/help31/topic/org.eclipse.platform.do c.isv/guide/product_def_nl.htm
>>>>>>
>>>>>>
>>>>>> Specifically:
>>>>>> The shape of NL fragments has evolved slightly since 2.1.
>>>>>> Previously all translation files (including the plugin.properties)
>>>>>> were provided in a jar. This was inconsistent since the
>>>>>> plugin.properties file was provided at the root of the plug-in.
>>>>>> To adapt your NL fragment to the new model, remove the
>>>>>> plugin.properties translation files from the jar and put them at
>>>>>> the root of the fragment as siblings of fragment.xml. For example,
>>>>>> the new shape of the NL fragment for org.eclipse.ui.workbench is
>>>>>> the following
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> I'm noticing that with the change to OSGi NLS that the
>>>>> WorkBenchMessages in the translation pack are now no longer working
>>>>> because to this same issue, is someone maintaing this translation
>>>>> pack?
>>>>>
>>>>> http://download.eclipse.org/eclipse/downloads/drops/L-3.0.1_ Translations-200409161125/index.php
>>>>>
>>>>>
>>>>> Is there an upgraded translation pack?
>>>>>
>>>>>
>>>>> -Mark Diggory
>>>>
>>>>
>>>>
>>>>
>>
>> ------------------------------------------------------------ ------------
>>
>
--------------020309070300060505020403
Content-Type: application/x-zip-compressed;
name="nls.zip"
Content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5lY2xpcHNlLnVpLnZpZXdzLm5sMS9zcmMvb3JnL2VjbGlwc2Uv dWkvaW50ZXJu
YWwvdmlld3MvcHJvcGVydGllcy9tZXNzYWdlc19mci5wcm9wZXJ0aWVzUEsF BgAAAAAJAAkA
3QMAAN0OAAAAAA==
--------------020309070300060505020403--
|
|
|
Re: plugin.properties with dots in labels [message #291507 is a reply to message #291497] |
Sat, 17 September 2005 08:45   |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
This is a multi-part message in MIME format.
--------------020904000600000400060503
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Mark,
Did you use this source project to build the nl1.jar specified by the
manifest?
Bundle-ClassPath: nl1.jar
I don't see the nl1.jar in this zip so maybe you just need to create
that jar to make this work?
Mark Diggory wrote:
> I've attached my nls plugin in zip.
>
> Only for the properties in the jar, not the plugin.properties.
>
> o.e.ui.views/src/o.e.ui.internal.views.contentoutline/messag es.properties
>
> o.e.ui.views/src/o.e.ui.internal.views.properties/messages.p roperties
>
> but not
>
> o.e.ui.views/plugin.properties
>
> -Mark
>
> Ed Merks wrote:
>
>> Mark,
>>
>> If you change the default/English versions, do those changes show up?
>>
>>
>> Mark Diggory wrote:
>>
>>> I've gotten most of what I need fixed in terms of translation by the
>>> approach I took below. The only current issue is that for some
>>> reason the ContentOutline and Properties Views are not getting
>>> translated even though I've translated the properties for these in
>>> o.e.ui.views...
>>>
>>> -Mark
>>>
>>>
>>> Mark Diggory wrote:
>>>
>>>> Yes, I understand the logic behind the name change.
>>>>
>>>> I've got an immediate need, I went and filtered all the properties
>>>> file in the language pack to have underscores instead of dots. But
>>>> will use whatever the new language pack has instead when it comes out.
>>>>
>>>> thanks,
>>>> Mark
>>>>
>>>> Ed Merks wrote:
>>>>
>>>>> Mark,
>>>>>
>>>>> I'm not absolutely sure, but I think the new translation package
>>>>> will be available with 3.1.1 around the end of the month.
>>>>> Probably the names were changed to not use "." so that they could
>>>>> be used as Java identifiers to support the generation of an
>>>>> interface that gives access to all the name properties and can
>>>>> populate itself reflectively by mapping field name to property IDs.
>>>>>
>>>>>
>>>>> Mark Diggory wrote:
>>>>>
>>>>>> Alex Blewitt wrote:
>>>>>>
>>>>>>> Depending on which version of Eclipse you're running, you might
>>>>>>> want to take a look at
>>>>>>> http://help.eclipse.org/help31/topic/org.eclipse.platform.do c.isv/guide/product_def_nl.htm
>>>>>>>
>>>>>>>
>>>>>>> Specifically:
>>>>>>> The shape of NL fragments has evolved slightly since 2.1.
>>>>>>> Previously all translation files (including the
>>>>>>> plugin.properties) were provided in a jar. This was inconsistent
>>>>>>> since the plugin.properties file was provided at the root of the
>>>>>>> plug-in.
>>>>>>> To adapt your NL fragment to the new model, remove the
>>>>>>> plugin.properties translation files from the jar and put them at
>>>>>>> the root of the fragment as siblings of fragment.xml. For
>>>>>>> example, the new shape of the NL fragment for
>>>>>>> org.eclipse.ui.workbench is the following
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> I'm noticing that with the change to OSGi NLS that the
>>>>>> WorkBenchMessages in the translation pack are now no longer
>>>>>> working because to this same issue, is someone maintaing this
>>>>>> translation pack?
>>>>>>
>>>>>> http://download.eclipse.org/eclipse/downloads/drops/L-3.0.1_ Translations-200409161125/index.php
>>>>>>
>>>>>>
>>>>>> Is there an upgraded translation pack?
>>>>>>
>>>>>>
>>>>>> -Mark Diggory
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>
>>> ------------------------------------------------------------ ------------
>>>
>>>
>>
--------------020904000600000400060503
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Mark,<br>
<br>
Did you use this source project to build the nl1.jar specified by the
manifest? <br>
<blockquote>Bundle-ClassPath: nl1.jar<br>
</blockquote>
I don't see the nl1.jar in this zip so maybe you just need to create
that jar to make this work?<br>
<br>
<br>
Mark Diggory wrote:
<blockquote cite="mid432B4F5E.40508@apache.org" type="cite">I've
attached my nls plugin in zip.
<br>
<br>
Only for the properties in the jar, not the plugin.properties.
<br>
<br>
o.e.ui.views/src/o.e.ui.internal.views.contentoutline/messag es.properties
<br>
<br>
o.e.ui.views/src/o.e.ui.internal.views.properties/messages.p roperties
<br>
<br>
but not
<br>
<br>
o.e.ui.views/plugin.properties
<br>
<br>
-Mark
<br>
<br>
Ed Merks wrote:
<br>
<blockquote type="cite">Mark,
<br>
<br>
If you change the default/English versions, do those changes show up?
<br>
<br>
<br>
Mark Diggory wrote:
<br>
<br>
<blockquote type="cite">I've gotten most of what I need fixed in
terms of translation by the approach I took below. The only current
issue is that for some reason the ContentOutline and Properties Views
are not getting translated even though I've translated the properties
for these in o.e.ui.views...
<br>
<br>
-Mark
<br>
<br>
<br>
Mark Diggory wrote:
<br>
<br>
<blockquote type="cite">Yes, I understand the logic behind the
name change.
<br>
<br>
I've got an immediate need, I went and filtered all the properties file
in the language pack to have underscores instead of dots. But will use
whatever the new language pack has instead when it comes out.
<br>
<br>
thanks,
<br>
Mark
<br>
<br>
Ed Merks wrote:
<br>
<br>
<blockquote type="cite">Mark,
<br>
<br>
I'm not absolutely sure, but I think the new translation package will
be available with 3.1.1 around the end of the month. Probably the
names were changed to not use "." so that they could be used as Java
identifiers to support the generation of an interface that gives access
to all the name properties and can populate itself reflectively by
mapping field name to property IDs.
<br>
<br>
<br>
Mark Diggory wrote:
<br>
<br>
<blockquote type="cite">Alex Blewitt wrote:
<br>
<br>
<blockquote type="cite">Depending on which version of
Eclipse you're running, you might want to take a look at
<a class="moz-txt-link-freetext" href=" http://help.eclipse.org/help31/topic/org.eclipse.platform.do c.isv/guide/product_def_nl.htm"> http://help.eclipse.org/help31/topic/org.eclipse.platform.do c.isv/guide/product_def_nl.htm</a>
<br>
<br>
Specifically:
<br>
The shape of NL fragments has evolved slightly since 2.1. Previously
all translation files (including the plugin.properties) were provided
in a jar. This was inconsistent since the plugin.properties file was
provided at the root of the plug-in.
<br>
To adapt your NL fragment to the new model, remove the
plugin.properties translation files from the jar and put them at the
root of the fragment as siblings of fragment.xml. For example, the new
shape of the NL fragment for org.eclipse.ui.workbench is the following
<br>
</blockquote>
<br>
<br>
<br>
<br>
<br>
<br>
I'm noticing that with the change to OSGi NLS that the
WorkBenchMessages in the translation pack are now no longer working
because to this same issue, is someone maintaing this translation pack?
<br>
<br>
<a class="moz-txt-link-freetext" href=" http://download.eclipse.org/eclipse/downloads/drops/L-3.0.1_ Translations-200409161125/index.php"> http://download.eclipse.org/eclipse/downloads/drops/L-3.0.1_ Translations-200409161125/index.php</a>
<br>
<br>
Is there an upgraded translation pack?
<br>
<br>
<br>
-Mark Diggory
<br>
</blockquote>
<br>
<br>
<br>
<br>
</blockquote>
</blockquote>
<br>
------------------------------------------------------------ ------------
<br>
<br>
</blockquote>
<br>
</blockquote>
</blockquote>
<br>
</body>
</html>
--------------020904000600000400060503--
|
|
|
Re: plugin.properties with dots in labels [message #291514 is a reply to message #291507] |
Sat, 17 September 2005 17:35  |
Eclipse User |
|
|
|
Originally posted by: mdiggory.apache.org
This is a multi-part message in MIME format.
--------------050608030701080202040904
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Actually, I changed it to be a full fledged 3.1 OSGi based plugin jar
and it seems to work fine now. Here's the plugin jar with source included.
-Mark
Ed Merks wrote:
> Mark,
>
> Did you use this source project to build the nl1.jar specified by the
> manifest?
>
> Bundle-ClassPath: nl1.jar
>
> I don't see the nl1.jar in this zip so maybe you just need to create
> that jar to make this work?
>
>
> Mark Diggory wrote:
>
>> I've attached my nls plugin in zip.
>>
>> Only for the properties in the jar, not the plugin.properties.
>>
>> o.e.ui.views/src/o.e.ui.internal.views.contentoutline/messag es.properties
>>
>> o.e.ui.views/src/o.e.ui.internal.views.properties/messages.p roperties
>>
>> but not
>>
>> o.e.ui.views/plugin.properties
>>
>> -Mark
>>
>> Ed Merks wrote:
>>
>>> Mark,
>>>
>>> If you change the default/English versions, do those changes show up?
>>>
>>>
>>> Mark Diggory wrote:
>>>
>>>> I've gotten most of what I need fixed in terms of translation by the
>>>> approach I took below. The only current issue is that for some
>>>> reason the ContentOutline and Properties Views are not getting
>>>> translated even though I've translated the properties for these in
>>>> o.e.ui.views...
>>>>
>>>> -Mark
>>>>
>>>>
>>>> Mark Diggory wrote:
>>>>
>>>>> Yes, I understand the logic behind the name change.
>>>>>
>>>>> I've got an immediate need, I went and filtered all the properties
>>>>> file in the language pack to have underscores instead of dots. But
>>>>> will use whatever the new language pack has instead when it comes out.
>>>>>
>>>>> thanks,
>>>>> Mark
>>>>>
>>>>> Ed Merks wrote:
>>>>>
>>>>>> Mark,
>>>>>>
>>>>>> I'm not absolutely sure, but I think the new translation package
>>>>>> will be available with 3.1.1 around the end of the month.
>>>>>> Probably the names were changed to not use "." so that they could
>>>>>> be used as Java identifiers to support the generation of an
>>>>>> interface that gives access to all the name properties and can
>>>>>> populate itself reflectively by mapping field name to property IDs.
>>>>>>
>>>>>>
>>>>>> Mark Diggory wrote:
>>>>>>
>>>>>>> Alex Blewitt wrote:
>>>>>>>
>>>>>>>> Depending on which version of Eclipse you're running, you might
>>>>>>>> want to take a look at
>>>>>>>> http://help.eclipse.org/help31/topic/org.eclipse.platform.do c.isv/guide/product_def_nl.htm
>>>>>>>>
>>>>>>>>
>>>>>>>> Specifically:
>>>>>>>> The shape of NL fragments has evolved slightly since 2.1.
>>>>>>>> Previously all translation files (including the
>>>>>>>> plugin.properties) were provided in a jar. This was inconsistent
>>>>>>>> since the plugin.properties file was provided at the root of the
>>>>>>>> plug-in.
>>>>>>>> To adapt your NL fragment to the new model, remove the
>>>>>>>> plugin.properties translation files from the jar and put them at
>>>>>>>> the root of the fragment as siblings of fragment.xml. For
>>>>>>>> example, the new shape of the NL fragment for
>>>>>>>> org.eclipse.ui.workbench is the following
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> I'm noticing that with the change to OSGi NLS that the
>>>>>>> WorkBenchMessages in the translation pack are now no longer
>>>>>>> working because to this same issue, is someone maintaing this
>>>>>>> translation pack?
>>>>>>>
>>>>>>> http://download.eclipse.org/eclipse/downloads/drops/L-3.0.1_ Translations-200409161125/index.php
>>>>>>>
>>>>>>>
>>>>>>> Is there an upgraded translation pack?
>>>>>>>
>>>>>>>
>>>>>>> -Mark Diggory
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>
>>>> ------------------------------------------------------------ ------------
>>>>
>>>>
>>>
>
--------------050608030701080202040904
Content-Type: application/java-archive;
name="org.eclipse.ui.views.nl1_1.0.0.jar"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
filename="org.eclipse.ui.views.nl1_1.0.0.jar"
UEsDBAoAAAAAACmMMTMAAAAAAAAAAAAAAAAJAAAATUVUQS1JTkYvUEsDBAoA AAAAACmMMTMA
AAAAAAAAAAAAAAAEAAAAb3JnL1BLAwQKAAAAAAApjDEzAAAAAAAAAAAAAAAA DAAAAG9yZy9l
Y2xpcHNlL1BLAwQKAAAAAAApjDEzAAAAAAAAAAAAAAAADwAAAG9yZy9lY2xp cHNlL3VpL1BL
AwQKAAAAAAApjDEzAAAAAAAAAAAAAAAAGAAAAG9yZy9lY2xpcHNlL3VpL2lu dGVybmFsL1BL
AwQKAAAAAAApjDEzAAAAAAAAAAAAAAAAHgAAAG9yZy9lY2xpcHNlL3VpL2lu dGVybmFsL3Zp
ZXdzL1BLAwQKAAAAAAApjDEzAAAAAAAAAAAAAAAALQAAAG9yZy9lY2xpcHNl L3VpL2ludGVy
bmFsL3ZpZXdzL2NvbnRlbnRvdXRsaW5lL1BLAwQKAAAAAAApjDEzAAAAAAAA AAAAAAAAKQAA
AG9yZy9lY2xpcHNlL3VpL2ludGVybmFsL3ZpZXdzL3Byb3BlcnRpZXM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HJvcGVydGllc1BLAQIUAwoAAAAIACmMMTO4QtXcSQEAADwDAABH AAAAAAAAAAAA
AACkgaEMAABzcmMvb3JnL2VjbGlwc2UvdWkvaW50ZXJuYWwvdmlld3MvY29u dGVudG91dGxp
bmUvbWVzc2FnZXNfZnIucHJvcGVydGllc1BLAQIUAwoAAAAIACmMMTPk8x3a JwIAAG4FAABD
AAAAAAAAAAAAAACkgU8OAABzcmMvb3JnL2VjbGlwc2UvdWkvaW50ZXJuYWwv dmlld3MvcHJv
cGVydGllcy9tZXNzYWdlc19mci5wcm9wZXJ0aWVzUEsFBgAAAAAZABkAUwcA ANcQAAAAAA==
--------------050608030701080202040904--
|
|
|
Goto Forum:
Current Time: Sat Jul 19 19:45:09 EDT 2025
Powered by FUDForum. Page generated in 0.05653 seconds
|