Change labels/names in frontend

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2012 03:26 PM
Hey guys,
in the owplugins.xml config file I've changed the <Name> for the simple property edit document function from
<Name>Edit Properties (Basic)<Name>
<id>com.wewebu.ow.owdocprops.OwEditDocumentPropertiesSimple</id>
to
<Name>Edit Properties</Name>
<id>com.wewebu.ow.owdocprops.OwEditDocumentPropertiesSimple</id>
The name is not updated in the UI anywhere (The old value with (Basic)) is listed in the Admin screen, in the context menu, etc. If I change the ID to something different then the value in the UI does update.
Can you tell me where this value is being cached and how to clear it?
in the owplugins.xml config file I've changed the <Name> for the simple property edit document function from
<Name>Edit Properties (Basic)<Name>
<id>com.wewebu.ow.owdocprops.OwEditDocumentPropertiesSimple</id>
to
<Name>Edit Properties</Name>
<id>com.wewebu.ow.owdocprops.OwEditDocumentPropertiesSimple</id>
The name is not updated in the UI anywhere (The old value with (Basic)) is listed in the Admin screen, in the context menu, etc. If I change the ID to something different then the value in the UI does update.
Can you tell me where this value is being cached and how to clear it?
Labels:
- Labels:
-
Archive
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2012 03:58 PM
Hi Popeye,
this "Edit Properties (Basic)" plugin is a standard plugin => all IDs of these standard plugins are localized in the "oecmlocalize.jar". OpenWorkdesk provides the option to localize all labels of the frontend. The following order is applied by OpenWorkdesk:
1. check if the ID is localized in the oecmlocalize.jar
2. check if the ID is localized in the oecmcustomlocalize.jar
3. if none of the above are configured, then OpenWorkdesk will use the default label that is defined in the code
=> so best approach for you is to rename the labels in your "oecmcustomlocalize.jar", so for example com.wewebu.ow.owdocprops.OwEditDocumentPropertiesSimple=Change Property Values
==> this will change the label in the UI from "Edit Properties (Basic)" to "Change Property Values"
this "Edit Properties (Basic)" plugin is a standard plugin => all IDs of these standard plugins are localized in the "oecmlocalize.jar". OpenWorkdesk provides the option to localize all labels of the frontend. The following order is applied by OpenWorkdesk:
1. check if the ID is localized in the oecmlocalize.jar
2. check if the ID is localized in the oecmcustomlocalize.jar
3. if none of the above are configured, then OpenWorkdesk will use the default label that is defined in the code
=> so best approach for you is to rename the labels in your "oecmcustomlocalize.jar", so for example com.wewebu.ow.owdocprops.OwEditDocumentPropertiesSimple=Change Property Values
==> this will change the label in the UI from "Edit Properties (Basic)" to "Change Property Values"

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2012 03:38 AM
Thanks…that worked perfectly

