The following example explains how you define suitable labels and descriptions in different languages for an entry point. It also tells you how to use a new symbol for an entry point.
You have worked through the steps that are described in Creating an Example Project in SAP NetWeaver Developer Studio .
You want to use the /projectshare/public folder as an entry point.
<bundle file name>_<language>.properties
For example:
my-entrypoint-label_de.properties
my-entrypoint-label_es.properties
You also need a bundle file for the default language (usually English).
my-entrypoint-label.properties
For example:
For the German bundle file my-entrypoint-label_de.properties:
public=Unsere öffentlichen Dokumente
public_d=Hier finden Sie unseren öffentlichen Dokumente.
For the Spanish bundle file my-entrypoint-label_es.properties:
public=Nuestros Documentos Públicos
public_d=Aquí se encuentran nuestros documentos públicos.
In the default bundle file my-entrypoint_label.properties:
public=Our Public Documents
public_d=Here you can find our public documents.
Note that the key for the description (<folder_name>_d) can have a maximum of 32 characters. If the name of the folder is longer than 30 characters, cut it down to 30.
Remember to use Unicode notation for umlauts and special characters. Below are some examples for German umlauts:
\u00E4 =ä
\u00C4 =Ä
\u00DF =ß
\u00F6 =ö
\u00D6 =Ö
\u00FC =ü
\u00DC =Ü
Do not use spaces in keys. Use underscores instead.
Name = my_folders
Bundle File = com.<%companyname%>.km.resource.bundle.my-entrypoint-label
Active = Activated
Display First Level = Activated
Priority = 100
Targets = /projectshare/public
Upload the public.img file to the /etc/public/mimes/images/entrypoints directory.
The specified graphics file and the name and description of the entry point are displayed in the Entry Points iView.