The Now Platform® Washington DC release is live. Watch now!
‎03-22-2017 03:45 AM
Hi community,
currently, we develop a customer portal with service portal. Our users speak French or English so we want to translate all the labels.
We use the ${word} syntax to translate the static text in wdigets and it works fine.
Now, I'm looking for the solution to translate the menu items in the header.
Here is my analysis :
<a ng-if="item.items.length == 0 && !item.scriptedItems" ng-href="{{item.href}}">{{item.labe}}</a>
<a ng-if="item.items.length > 0" href="javascript:void(0)" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">{{ item.label }} <span class="caret"></span></a>
...
I have tried that ${{{item.label}}} but doesn't work !
Do you know how I can translate the {{item.label}} value ?
‎04-14-2017 07:44 AM
Hi everyone,
Finally, I have found the solution to translate the menu items in Service Portal :
Menu Item labels are stored in a field with a translated_text field type. This means in order for it to be translated, a translation record must exist on the Translated Text [sys_translated_text] table.
1. Select System Localization > Translated Text on the Application Navigator
2. Select New.
3. Configure the record in this order.
Regards
Christophe
‎05-11-2017 07:48 AM
If I would translate the subcategories of header menu item?
‎06-15-2017 06:32 AM
Hi Gaetano,
I don't use subcategories for the moment so I can't try it. I think you can use the same method.
Regards