Skip to content

flipped output when translating to arabic  #288

@hamadaspace

Description

@hamadaspace

Version:

[0]:~$ trans -V
Translate Shell       0.9.6.9-git:eba74aa
platform              Linux
gawk (GNU Awk)        4.1.4
fribidi (GNU FriBidi) 0.19.7
audio player          mpv --no-config
terminal pager        less
terminal type         xterm-256color
user locale           en_US.UTF-8 (English)
home language         en
source language       auto
target language       en
translation engine    google
proxy                 [NONE]
user-agent            Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/602.1 (KHTML, like Gecko) Version/8.0 Safari/602.1 Epiphany/3.18.2
theme                 default
init file             [NONE]

Report bugs to:       https://github.com/soimort/translate-shell/issues

NOTE: trans was installed with apt ! (translate-shell - Google Translate to serve as a command line tool)

Commands:

[0]:~$ trans -b :ar "Hello world"
                                                                                                                                            ﻢﻟﺎﻌﻟﺎﺑ ﺎﺒﺣﺮﻣ
[0]:~$ trans -b fr:ar "Bonjour le monde"
                                                                                                                                             ﻢﻟﺎﻌﻟﺍ ﺎﺒﺣﺮﻣ
[0]:~$ trans -b :ar "Hello world"|rev
ﻣﺮﺣﺒﺎ ﺑﺎﻟﻌﺎﻟﻢ                                                                                                                                            
[0]:~$ trans -b fr:ar "bonjour le monde"|rev
ﻣﺮﺣﺒﺎ ﺍﻟﻌﺎﻟﻢ                                                                                                                                             

Additional infos:

as you see i can handle that with "rev" command but it works only with "Brief mode" !

[0]:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.2 LTS
Release:        18.04
Codename:       bionic

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions