diff --git a/packages/turkish/1.0.0/README.md b/packages/turkish/1.0.0/README.md new file mode 100644 index 00000000..022fa047 --- /dev/null +++ b/packages/turkish/1.0.0/README.md @@ -0,0 +1,41 @@ +# Turkish Characters 🇹🇷 + +A simple package to convert English characters to Turkish. + +## Vowels +| Trigger | Replacement | +|:-------------:|:-------------:| +| U- | Ü | +| O- | Ö | +| I- | İ | +| u- | ü | +| o- | ö | +| i- | ı | + + +## Consonants +| Trigger | Replacement | +|:-------------:|:-------------:| +| C- | Ç | +| S- | Ş | +| G- | Ğ | +| c- | ç | +| s- | ş | +| g- | ğ | + +## Criteria for the 'trigger character' +- Should be accessible with one key stroke. + - This is why `:` is not good enough. +- Should be *caps lock agnostic* + - This is why repetions are not good enough. + - E.g. `Ii` and `II` should both be replaced with `İ`. What about `iI`? Is it `İ` or `ı`? +- It should come **after** the base character. It just feels more natural. + - `:` won't work, e.g. "numbers: 1, 2, 3" would get replaced with "numberş 1, 2, 3" +- [base] + [trigger] is not a valid combination otherwise. + - `e` after vowels: Goethe + - `x` after consonants: Matrix + - `'`: Marc's + - `-`: `i--` (programming) + +### Decision +`-` satisfies almost all of the criteria, except for one: it can have a special meaning in some programming languages. But I prefer `i -= 1` over `i--`, you don't need it that often in most of the modern programming languages anyway (because we have for-in loops). And most people don't write code, so it should be okay. This why I decided to go with `-`. \ No newline at end of file diff --git a/packages/turkish/1.0.0/_manifest.yml b/packages/turkish/1.0.0/_manifest.yml new file mode 100644 index 00000000..dbe24017 --- /dev/null +++ b/packages/turkish/1.0.0/_manifest.yml @@ -0,0 +1,6 @@ +name: "turkish" +title: "Turkish characters" +description: A package for typing Turkish characters with any keybord layout. +version: 1.0.0 +author: Alp Kaan Aksu +tags: ["turkish"] \ No newline at end of file diff --git a/packages/turkish/1.0.0/package.yml b/packages/turkish/1.0.0/package.yml new file mode 100644 index 00000000..6fd3c5a1 --- /dev/null +++ b/packages/turkish/1.0.0/package.yml @@ -0,0 +1,37 @@ +matches: + # Turkish Characters + - trigger: "C-" + replace: "Ç" + + - trigger: "c-" + replace: "ç" + + - trigger: "S-" + replace: "Ş" + + - trigger: "s-" + replace: "ş" + + - trigger: "G-" + replace: "Ğ" + + - trigger: "g-" + replace: "ğ" + + - trigger: "U-" + replace: "Ü" + + - trigger: "u-" + replace: "ü" + + - trigger: "O-" + replace: "Ö" + + - trigger: "o-" + replace: "ö" + + - trigger: "I-" + replace: "İ" + + - trigger: "i-" + replace: "ı" \ No newline at end of file