Skip to content

Commit 4992f7e

Browse files
authored
Update README.md
README file is updated with util description
1 parent 52fc56f commit 4992f7e

File tree

1 file changed

+22
-1
lines changed
  • Server-Side Components/Script Includes/TranslationUtil

1 file changed

+22
-1
lines changed

Server-Side Components/Script Includes/TranslationUtil/README.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,25 @@ This script include for language translation will invoke flow designer action an
44

55
The properties referred in this translation util is DUMMY name that needs to be replaced with actual property name
66

7-
You need to Identify the AI translator for your language and update accordingly
7+
You need to Identify the AI translator for your language and update accordingly.
8+
9+
More details....
10+
11+
This PR created for script include that contain TranslationUtil script and readme file that descrive 'How it server the purpose for Dynamic field translation using specific translator'
12+
13+
It will Fetches and calculates runtime limits for translation requests from system properties. Further it will dynamically retrieves the translation API key using getSubscriptionKey().
14+
15+
The scope of this utility ranges from multilingual support based on the user's preferred language to dynamic field translation through integration with Flows and Actions.
16+
17+
The scope of this PR & SI to provide a translationUtil, the custom flow action and subflow is not within the scope of this Util, if anyone wants to use it they need to create there own subflow that detect and translate the language by using this SI.
18+
19+
Details of Utils
20+
21+
TranslationUtils is a custom Script Include, created to manage dynamic text translation and language detection without depending on ServiceNow’s Out-of-the-box (OOTB) Translation plugin (like Dynamic Translation or Localization framework).
22+
How it Works?
23+
24+
It will look for Custom REST connections (via http_connection and api_key_credentials)
25+
Flow actions / subflows for actual translation and detection (global.detect_language, global.hhfksjhd__translate_text)
26+
Custom batching, size limits, and buffer logic to optimize translation requests and avoid API overflows.
27+
This SI will do the translation & detection of texts & give the translated data as JSON output
28+
HOPE THIS HELPS TO CLARIFY.

0 commit comments

Comments
 (0)