on 11-02-2020 11:57 AM
Hello,
I would like to add extension field (element) using the SDK with different labels for each langauge
for example
[Label("Hello")] element hello:ID; // for english UI
[Label("Bonjour")] element hello:ID; // for french UI
Is it possible ?
Hello,
There are 2 ways to handle field label translations for C4C.
1. For KUT based changes --> For KUT based changes you can use the Language Adaptation tool as mentioned here: http://go.sap.com/germany/documents/2016/10/e8ec4248-917c-0010-82c7-eda71af511fa.html
2. For PDI based changed --> For PDI based object changes like PDI Code List or Field Label etc etc, you need to choose "Translate" option, from right-click context menu, for the PDI Object like BO or CodeList. From this choose "Export Text" which will download a .xlf file that can easily be opened with a text editor like Notepad++ or Atom. You will see that there is a <source> tag with some text. Now just beneath that add a "<target>" tag and add the target language, as shown.
Now save your changes and right-click on the object in PDI and click "Import Text". Select the file you just updated and new labels should be visible now.
For more details, pls check official documentation here: https://help.sap.com/viewer/cbcebe3cfb1647a8b0322c18dbb0b481/latest/en-US/7547ef0873e210149ec2fdb742...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tamir,
Please take a look at the below blogpost shared by Horst.
https://blogs.sap.com/2016/04/06/easy-way-of-using-language-dependent-descriptions-for-identifiers/
But personally I would have preferred the Language adaptation tool to achieve these kind of requirements.
Best,
Nikhil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.