Skip to content

Conversation

@soimort
Copy link
Owner

@soimort soimort commented Feb 12, 2019

trans already supports translation into multiple target languages (by joining two or more language codes using +). This PR further allows trans to handle multiple source languages as well, using the same pattern; might be helpful when a word has different meanings in different languages:

$ trans -b -s fi+it -t en matto
carpet
crazy

$ trans -b en+da:zh+ja fart
放屁
おなら
赶快
急ぎます

@soimort soimort merged commit f334f51 into develop Feb 12, 2019
@soimort soimort deleted the multiple-source-lang branch February 12, 2019 22:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants