!--a11y-->
Changing Labels for Commands 
The use of bundle files allows you to modify labels as well as localize the language.
The example below shows how you can use suitable labels for different languages and how you swap the English label Details (for the command that calls up the Details dialog box) with the label Properties.
You have worked through the steps that are described in the section Importing an Example Project Into SAP NetWeaver Developer Studio.
...
1. In SAP NetWeaver Developer Studio, create a bundle file for each language. Use a text editor to do this. Note the following conventions:
<bundle file name>_<language>.properties
For example:
my_UICConsts_de.properties
my_UICConsts_es.properties
You also need a bundle file for the default language (usually English).
For example, my_UICConsts.properties
2. In each of these files, create an entry in the format key =label.
For example:
For the German bundle file my_UICConsts_de.properties:
test_properties=Eigenschaften
For the Spanish bundle file my_UICConsts_es.properties:
test_properties=Propiedades
For the standard bundle file my_UICConsts.properties:
test_properties=Properties
3. Export and deploy the PAR file that contains the bundle files (see Exporting and Deploying PAR Files).
4. In the configuration, under Content Management ® User Interface ® Commands ® UI Command, create the command below:
For example:
Alias =
companyname_Properties
Bundle File =
com.<%companyname%>.km.resource.bundle.my_UICConsts
Key for Label = test_properties
Java Class =
com.sapportals.wcm.rendering.uicommand.cm.UIDetailsCommand

SAP recommends that you use a prefix for the aliases of your commands. This makes it easier for you to distinguish between commands contained by default and commands that you have created yourself.
The label for the command is now displayed in the portal language on the interface. If no bundle file exists for the language set, the label is displayed in the language of the default bundle file (English).