axetroy / axetroy/translate-cli

Wrong translation content if contains any options

Open
#1 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

**I'm submitting a ...** (check one with "x")
```
[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request
```

**Current behavior**

$ ./bin/translate hello -f en -t zh
你好- F EN T zh

**Expected behavior**

$ ./bin/translate hello -f en -t zh
你好

**More default**

**Please tell us about your environment:**
Linux

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue with ./bin/translate hello -f en -t zh and start by tracing the bin/translate entry point to where translated output is assembled. Done means the command prints only 你好, without the '- F EN T zh' suffix, while preserving expected translation behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, nodejs
Domain
cli
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.