Files
UnrealEngineUWP/Engine/Source/Programs/AutomationTool/SmartlingLocalization/SmartlingLocalizationProvider.cs
leon huang f50395d0dd Localization:
Optimizationof Smartling download and upload.
- Previously, downloading of .po files from Smartling are done in series. Now, each language is downloaded in its own Task. Parallelizing downloads have improved download times anywhere from 2x to 10x.
- Logs for downloads, uploads and authentication token retrieval has been changed to be thread safe. The logs for a single Task will be batched and only printed after the task has completed.
- API for GetAuthenticationToken(), RequestAuthenticationToken() and RetrieveAuthenticationToken() has been changed to facilitate multithreaded logging
- Uploading of .po files has also been changed to be threaded to conform to the changes in APIs for the authentication token retrieval functions.
- Switched from Console.WriteLine to the preferred Logger.LogInformation

#rb: Jamie.Dale
#jira: none
#test: Performed the localization downloads locally. Checked the logs for the download step and compared timings of localization downloads. All tested localization files seems to have been downloaded successfully.

[CL 30252145 by leon huang in ue5-main branch]
2023-12-11 18:05:03 -05:00

26 KiB