Skip to content

Translating word between turkish and english, maybe in other languages too

Notifications You must be signed in to change notification settings

melihhtasci/tureng-cli

Repository files navigation

tureng-cli v1.2

Translating word between turkish and english, maybe in other languages too. I did not develop yet.

lang is default command to run. There is no other parameter except help --h

Just type what you want to translate. You can see examples below.

I added an optional parameter for meaning of english words by using dictionaryapi.dev. I tried some sentence pattern and couldnt get answer. So there is no problem if you cant get result.








Packing

  1. Edit project file and add these lines into PropertyGroup tag.
<PackAsTool>true</PackAsTool>
<ToolCommandName>lang</ToolCommandName>
<PackageOutputPath>./nupkg</PackageOutputPath>
  1. run dotnet pack
  2. run dotnet tool install --global --add-source ./nupkg language-cli

Using resources


  1. McMaster.Extensions.CommandLineUtils
  2. HtmlAgilityPack
  3. tureng.com
  4. dictionaryapi.dev

Warning

If you are sure the word written true and getting error that word is written wrong, probably something changed on xpath. Please create an issue and warn me, i will update or you can send MR too. My last update was for it... :)

About

Translating word between turkish and english, maybe in other languages too

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages