You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
368 B
PowerShell
11 lines
368 B
PowerShell
$TargetLanguage = $Args[0]
|
|
|
|
$text1 = "Giveaway in the discord"
|
|
|
|
$Uri1 = "https://translate.googleapis.com/translate_a/single?client=gtx&sl=auto&tl=$($TargetLanguage)&dt=t&q=$text1"
|
|
$Response = Invoke-RestMethod -Uri $Uri1 -Method Get
|
|
$Translation1 = $Response[0].SyncRoot | foreach { $_[0] }
|
|
|
|
write-host $Translation1
|
|
write-host "https://discord.gg/medicat"
|