-
-
Notifications
You must be signed in to change notification settings - Fork 97
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
Add priority popup keys to it, pms and tr #824
Conversation
Extra keys are the keys that are added in the default layout when it ends in I am currently revising the locale key texts, so I would like to avoid PRs on this until #659 is done (title is misleading, it's about removing all diacritics not specific to this locale). Btw I didn't find a good source which diacritics are necessary for Piedmontese. My usual source only has a relatively short 30k sentences list from Wikipedia. What would you recommend here? |
Mmh sure, makes sense, I'm not sure what would be the consequence of removing the % logic, would that imply all diacritics ever reachable via popup are going to be priority? Regarding Piedmontese, the story is a little complicated, it's a language that is mostly spoken and many speakers don't know exactly how to write. Now that foundation's website is about the most advanced Piedmontese source you can find on the web, I asked them their dataset and it seems also Microsoft did the same for Swiftkey. That said, the letters that I put as priority are the ones mostly used in that writing system, but I left also others (ó for instance, but I might have picked the wrong direction of the accent, my bad) belonging to the other, just in case. Considering the missing standardisation of the language writing, I don't think it's a big deal, but it's probably good if I check again the dataset. That said, we can close this PR or just keep it open for me to leave more details after I check the dictionary, I assume all changes here will not be needed the way they are anyway. |
The diacritics for the enabled locale(s) would be priority, others added via the show more letters with diacritics setting would be non-priority. Main changes compared to your proposed priority keys is that for
Certainly not,
The first is going to be shown as hint, otherwise it does not matter. All letters are shown in the popup.
I'd like to keep it open as a reminder, at least until I update #659 |
Yeah seems good actually, thanks!
Well, I'm no native speaker and never met those two (also â is rather rare), but indeed they seem to exist..
For now I'd say yes, but I'd definitely need to clean it up a little, I made the dictionary a few years ago and didn't bother much. In case i see it doesn't fit I can submit another PR after you refactor the whole thing. Anyway, thanks for your quick support and keep it up! |
I checked again the pms dictionary and the writing guidelines and it seems it's relatively accurate, according to the dictionary, those are the occurrences for the diacritics: So I'd keep the order I mentioned before (regarding e, it doesn't change much but é feels more familiar and I'd put it first): |
Closing since #659 was merged |
This PR adds the priority popup characters for Italian, Piedmontese and Turkish based on what character with diacritics are used in the language.
The following screenshots show it in action: by disabling all indicators besides the language (priority) ones, we can see that the desired characters are correctly displayed as overlay.
Perhaps stupid question, but while playing with the files I tried to change the
extra_keys
, thinking it was related, apparently it isn't.What is that section for?