Language selection
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-06-2023 10:38 PM
Hello Experts,
We have created new field is translate language and want to add on the service portal.
Requirement
Is it possible to set my "custom language" is only for translation instead of "preferred_language".
Pls support!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-07-2023 03:43 AM
Hi @akin9
created new field is translate language --> On which table you created this field and where on SP you want to show. Please provides some screen shots for support.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-07-2023 10:13 AM
Thanks for the Quick reply!
1.we have created a new field "translate language"on the "sys_user" table.
1.We are using the microsoft translator its translating based on the user preference language.
Requirement.
Based on the "translate language" field selection wants translatation.
same should work on the service portal also.
Pls support on this.
We have added on the same on portal profile customized the widget.
but used same as language field both working as same.
we need to add on the server script but im struggling.
<div class="list-group-item" ng-if="data.preferencesEnabled.languageEnabled">
<label for="language_picker_select">${Language}</label>
<select id="language_picker_select" class="form-control"
name="language_picker_select" ng-model="data.listProperties.language.current"
ng-change="setPreferenceValue('language', data.listProperties.language.current.value)"
ng-options="item as item.label for item in data.listProperties.language.list "/>
</div>
<div class="list-group-item" ng-if="data.preferencesEnabled.languageEnabled">
<label for="language_picker_select">${Translate Language}</label>
<select id="language_picker_select" class="form-control"
name="language_picker_select" ng-model="data.listProperties.language.current"
ng-change="setPreferenceValue('language', data.listProperties.u_translate_language.current.value)"
ng-options="item as item.label for item in data.listProperties.language.list "/>
</div>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-07-2023 11:04 AM
Thanks @akin9 for sharing the update. It is all about code , which is not my core area , sorry mate.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-07-2023 11:30 AM
Thanks for the Quick reply!
Is it possible to help on this need to create any property?
1.we have created a new field "translate language"on the "sys_user" table.
1.We are using the microsoft translator its translating based on the user preference language.
Requirement.
Based on the "translate language" field selection wants translatation.