The command trans -speak :pt-BR get speaks the source term perfectly in the shell. The same :speak option doesn't work through the following $HOME/.config/translate-shell/init.trans initialization file:
{
:hl "pt-BR" ;host language (interface language)
:tl "pt-BR" ;target languages e.g., ["en" "pt-BR"]
:verbose false
:speak true ;Listen to the original text
}
Is it a bug?
Translate Shell 0.9.7.1-git:faff2c9
platform Linux
terminal type tmux-256color
bi-di emulator [N/A]
gawk (GNU Awk) 5.4.0
fribidi (GNU FriBidi) 1.0.16
audio player mpv --no-config
terminal pager less
web browser firedragon
user locale en_US.UTF-8 (English)
host language pt-BR
source language auto
target language pt-BR
translation engine auto
proxy [NONE]
user-agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36 Edg/104.0.1293.54
ip version [DEFAULT]
theme default
init file $HOME/.config/translate-shell/init.trans
The command
trans -speak :pt-BR getspeaks the source term perfectly in the shell. The same:speakoption doesn't work through the following$HOME/.config/translate-shell/init.transinitialization file:{ :hl "pt-BR" ;host language (interface language) :tl "pt-BR" ;target languages e.g., ["en" "pt-BR"] :verbose false :speak true ;Listen to the original text }Is it a bug?