|
|
@ -1,6 +1,6 @@
|
|
|
|
$TargetLanguage = $Args[0]
|
|
|
|
$TargetLanguage = $Args[0]
|
|
|
|
|
|
|
|
|
|
|
|
$text1 = "We are currently doing a giveaway in the discord."
|
|
|
|
$text1 = "Happy New Year."
|
|
|
|
|
|
|
|
|
|
|
|
$Uri1 = “https://translate.googleapis.com/translate_a/single?client=gtx&sl=auto&tl=$($TargetLanguage)&dt=t&q=$text1”
|
|
|
|
$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
|
|
|
|
$Response = Invoke-RestMethod -Uri $Uri1 -Method Get
|
|
|
|