!--a11y-->
Translation of the Texts 
Properties files cannot be translated immediately because they are generated during the creation of the Web Dynpro project. When creating language-dependent text elements, different S2X files with the extension .xlf are generated for each Web Dynpro component Within a Web Dynpro component, S2X files are created when you
By default, the application development fills these S2X files with the context infomation relevant for the translation using the S2X Document Editor.
For the translation process, you must manually create the corresponding language-specific S2X file from scatch and process it . The Web Dynpro tool S2X Document Editor is used to translate language-dependent text elements for the resource bundle of a Web Dynpro component and the properties files.

Note that you do not process the properties files, because they are always generated using S2X files and therefore are overwritten.
...
The following steps describe how to create language-specific S2X files:
1.
Copy S2X file
To translate the relevant texts contained in the S2X files into a specific
language, you must use the Package Explorer of the SAP NetWeaver Developer
Studio to copy the requested S2X file in the directory /src/packages using the
right mouse button.
2.
Insert S2X file with language-specific
name
Insert the S2X file in the same directory with the additional extension:
_<language ID according to the ISO standard 639> after the file
name.
Example: If you want to translate the S2X file of the Web Dynpro component
<Web Dynpro component> for the view MainView <View
Name>.wdView.xlf into English, you must enter
the file name as follows: <view
name>.wdView_en.xlf.

You must enter the language ID in lower case and must not modify the original
name of the S2X file except for this language-specific addition. The
language-specific addition is a language ID according to the ISO standard 639.
For additional information, refer to the World Wide Web.
3.
Store the metadata to save the newly
created file. Navigate to File in the uppermost toolbar and select
Save all
metadata or navigate into the second toolbar and
select the icon
Save all
metadata.
4. Open the file in the S2X Document Editor for processing.

Only if you process the newly created file in the S2X Document Editor, the encoding tables that are required for the translation are available and Unicode-enabled.
5.
After translating the corresponding
texts, you save the metadata to save the modifications in the file with the
translated texts. Navigate to File in the uppermost toolbar and select
Save all
metadata or navigate into the second toolbar and
select the icon
Save all
metadata.

To generate the corresponding properties file, you must ask the application
development to newly create the archive for the Web Dynpro project using the
function Create
archive.
You have created a language-specific S2X file that can be used for the generation of an additional language-specific properties file. Therefore, also this resource bundle can be provided at runtime.
