Comments (6)
Which OS / distro are you running?
Gentoo Linux, installed from the system package manager.
Thanks for the info! Now I see that C.UTF-8 is indeed the default locale on Gentoo, and probably other more baremetal systems. Will fix that warning for C.UTF-8 later, but still, setting a language/region based locale is recommended.
from translate-shell.
-
What is your
trans -V
? -
Does it happen with other language pairs?
from translate-shell.
$ trans -V
Translate Shell 0.9.7.1
platform Linux
terminal type xterm-kitty
bi-di emulator [N/A]
gawk (GNU Awk) 5.3.0
fribidi (GNU FriBidi) 1.0.13
audio player mpv --no-config
terminal pager less
web browser xdg-open
user locale C.UTF8 (English)
host language en
source language auto
target language en
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 happiness.trans
init file /home/vitaly/.config/translate-shell/init.trans
from translate-shell.
2. Does it happen with other language pairs?
Looks like yes:
$ trans :de -p 'hello'
Hallo
Definitions of hello
[ English → Deutsch ]
interjection
Hallo!
Hello!, Hi!, Hey!, Howdy!, Yoo-Hoo!
Hallo?
Hello!
Guten Tag!
Hello!, Good day!, Good afternoon!, How do you do?
Servus!
Hello!, Goodbye!, Cheerio!, So long!
hello
Hallo, hallo!
Voice output isn't available for English
from translate-shell.
user locale C.UTF8 (English)
Which OS / distro are you running?
trans
could be problematic under the locale C, as it sometimes gets confused when assuming the default language (which is English in this case). You can try changing the locale to en_US.UTF8
or ru_RU.UTF-8
.
Or explicitly specify the source language (en
) and see if the warning persists:
$ trans en:de -p 'hello'
from translate-shell.
Which OS / distro are you running?
Gentoo Linux, installed from the system package manager.
from translate-shell.
Related Issues (20)
- I can't use -play and -speak options together in the same time! HOT 2
- Add pot/po translation support
- 无法使用
- Add option to force retry if connection is lost
- Voice output unavailable
- -no-autocorrect doesn't work with Google translate HOT 2
- Stuck at getting output for RTL languages HOT 2
- Strange bug with some Chinese sentences containg : HOT 3
- gpg public key doesnt seems to be working HOT 1
- not reading .curlrc HOT 7
- Show target language on REPL mode HOT 3
- Space bar not working on REPL mode HOT 1
- sentence HOT 1
- Inconsistent inclusion of nikud in Hebrew results HOT 2
- Support socks proxy HOT 1
- Add ability to press "up arrow" on the keyboard to set the previous text, like in bash shell HOT 1
- Separation '══════': now exists only for non-interactive mod, please add to the REPL (-I) also HOT 4
- gawk: fatal: can't open source file `/dev/fd/63' for reading (No such file or directory) HOT 6
- Support for recently added 110 new languages on Google Translate HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from translate-shell.