Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Turkish layout & translation #151

Merged
merged 4 commits into from Jun 5, 2022
Merged

Turkish layout & translation #151

merged 4 commits into from Jun 5, 2022

Conversation

erqan
Copy link
Contributor

@erqan erqan commented May 19, 2022

No description provided.

Copy link
Owner

@Julow Julow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@@ -14,4 +14,5 @@
<subtype android:label="%s" android:languageTag="pt" android:imeSubtypeLocale="pt_BR" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="default_layout=qwerty_pt,extra_keys=accent_aigu|accent_cedille|accent_circonflexe|accent_grave|accent_tilde|€"/>
<subtype android:label="%s" android:languageTag="ru" android:imeSubtypeLocale="ru_RU" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="default_layout=ru_jcuken"/>
<subtype android:label="%s" android:languageTag="sv" android:imeSubtypeLocale="sv_SE" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="default_layout=qwerty_sv_se,extra_keys=accent_aigu|accent_trema|accent_ring|€"/>
<subtype android:label="%s" android:languageTag="tr" android:imeSubtypeLocale="tr_TR" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="default_layout=qwerty_tr,extra_keys=ç|ğ|ı|ö|ş|ü|€"/>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Currently, none of the loc keys you added will be shown in any other layouts. You can remove the loc prefix in the new layout and change this line to:

Suggested change
<subtype android:label="%s" android:languageTag="tr" android:imeSubtypeLocale="tr_TR" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="default_layout=qwerty_tr,extra_keys=ç|ğ|ı|ö|ş|ü|€"/>
<subtype android:label="%s" android:languageTag="tr" android:imeSubtypeLocale="tr_TR" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="default_layout=qwerty_tr,extra_keys=accent_cedille|accent_caron|accent_trema|ı|€"/>

This will add the required dead-keys on the other layouts. The ı won't be shown yet but I'm already working on improving that.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since 2e81cb5, the ı will be added on other layouts too.

Copy link
Owner

@Julow Julow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thanks!

My suggestion above was a bit wrong, I added a commit to tweak the extra keys.

@Julow Julow merged commit d03e96d into Julow:master Jun 5, 2022
@randomizednum
Copy link

randomizednum commented Sep 28, 2022

There is no way to type the uppercase dotted i (İ). I'm not sure if it's possible to switch letters depending on letter case with this layout system, but it's a pretty big annoyance when writing in Turkish.

@Julow
Copy link
Owner

Julow commented Oct 4, 2022

@randomizednum I added İ in fc8bb3a. For technical reason, i and ı will be swapped when shifting. You can find a debug version of the app here: https://github.com/Julow/Unexpected-Keyboard/actions/runs/3180483459

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.

None yet

3 participants