RealtimeStyleTransferRuntime/Build/Scripts/Automation/Localization/CrowdinLocalizationProvider...

28 lines
706 B
C#
Raw Normal View History

2022-05-23 18:41:30 +00:00
// Copyright Epic Games, Inc. All Rights Reserved.
using System;
using System.Collections.Generic;
using AutomationTool;
using UnrealBuildTool;
using EpicGames.CrowdinLocalization;
public class CrowdinLocalizationProvider_Sample : CrowdinLocalizationProvider
{
public CrowdinLocalizationProvider_Sample(LocalizationProviderArgs InArgs)
: base(InArgs)
{
Config.ProjectId = Command.ParseParamValue("ProjectId");
Config.AccessToken = Command.ParseParamValue("AccessToken");
}
public static string StaticGetLocalizationProviderId()
{
return "Crowdin_Sample";
}
public override string GetLocalizationProviderId()
{
return StaticGetLocalizationProviderId();
}
}