Added French

This commit is contained in:
Markus Fleschutz 2021-02-10 21:07:39 +01:00
parent d62f2dc24a
commit 3552684e0d

View File

@ -6,12 +6,12 @@
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0
#> #>
param([string]$SourceText = "", [string]$SourceLang = "en") param($SourceText = "", $SourceLang = "en")
if ($SourceText -eq "" ) { if ($SourceText -eq "" ) {
$SourceText = read-host "Enter text to translate" $SourceText = read-host "Enter text to translate"
} }
$TargetLanguages = "af","da","de","el","es","hr","it","ja","ko","pl","pt","nl","ru","tr","uk","vi" $TargetLanguages = "af","da","de","el","es","fr","hr","it","ja","ko","pl","pt","nl","ru","tr","uk","vi"
function TranslateWithGoogle { function TranslateWithGoogle {
[CmdletBinding()] [CmdletBinding()]