-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
169 additions
and
214 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Change Log | ||
All notable changes to this project will be documented in this file. | ||
|
||
## [1.0.1] - 2017-06-24 | ||
### Added | ||
|
||
## [1.0.0] - 2017-06-23 | ||
### Added | ||
* Initial commit. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
The MIT License (MIT) | ||
===================== | ||
|
||
Copyright © 2017 Sotirios M. Roussis | ||
|
||
Permission is hereby granted, free of charge, to any person | ||
obtaining a copy of this software and associated documentation | ||
files (the “Software”), to deal in the Software without | ||
restriction, including without limitation the rights to use, | ||
copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the | ||
Software is furnished to do so, subject to the following | ||
conditions: | ||
|
||
The above copyright notice and this permission notice shall be | ||
included in all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, | ||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES | ||
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | ||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT | ||
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, | ||
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | ||
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR | ||
OTHER DEALINGS IN THE SOFTWARE. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,79 @@ | ||
# grklsh | ||
Translate Greek into Greeklish and print on the standard output | ||
### grklsh - :greece: + ( :uk: || :us: ) | ||
|
||
> Greeklish, a portmanteau of the words Greek and English, also known as Grenglish, Latinoellinika/Λατινοελληνικά or ASCII Greek, is the Greek language written using the Latin alphabet. | ||
### What is it about? | ||
|
||
`grklsh` is a small script written in python | ||
|
||
Its job is to translate any text into Greeklish and|or display it to standard output and|or redirect the translated text to file|s | ||
|
||
**NOTE** *Greek can also be translated into Greeklish* | ||
|
||
### How can I use it? | ||
|
||
##### Greek ➝ Greeklish | ||
|
||
You just have to type ... | ||
|
||
```bash | ||
$ grklsh.py | ||
``` | ||
|
||
##### Any language ➝ Greeklish | ||
|
||
You just have to type but you need to put the `-t` or `--translate` argument first like this, | ||
|
||
```bash | ||
$ grklsh.py -t | ||
``` | ||
|
||
##### Files containing Greek ➝ New files in Greeklish | ||
|
||
OK, this one is a bit tricky :smirk: | ||
You have to put the `-w` or `--write` argument before each filename | ||
|
||
The example below shows how to translate a file into Greeklish | ||
It will generate a file `file1.grklsh` which contains the translated text | ||
|
||
```bash | ||
$ grklsh.py -w file1 | ||
``` | ||
|
||
If you want to convert multiple files at once, | ||
|
||
```bash | ||
$ grklsh.py -w file1 -w file2 -w fileN | ||
``` | ||
|
||
This will generate three files: `file1.grklsh`, `file2.grklsh` and `fileN.grklsh` which contain the translated text of each file passed as argument | ||
|
||
### How can I install it? | ||
|
||
#### on Linux or MacOS | ||
|
||
```bash | ||
$ git clone https://github.com/xtonousou/grklsh.git | ||
$ cd grklsh/ | ||
$ sudo python2 -m pip install -r requirements.txt | ||
``` | ||
|
||
### on Windows | ||
|
||
:unamused: untested | ||
|
||
### Changelog | ||
|
||
All notable changes to this project will be documented in [this] file. | ||
|
||
### License | ||
|
||
Copyright (c) 2017 by Sotirios M. Roussis. Some rights reserved. | ||
|
||
grklsh is under the terms of the MIT License, following all clarifications stated in the [license] file | ||
|
||
|
||
<!--- Links --> | ||
|
||
[this]: CHANGELOG.md | ||
[license]: LICENSE.md |
Oops, something went wrong.