Add language specific filter to Dictionary, in every category

Done Engine › Dictionary & shortcuts

SpaMMed TESTER iPhoneiPad ·

What would you like?

While browsing my learned words, I would love to filter them out by language, ON TOP of the existing recent filter, Alphabetical order, and Most used.

Why it would help

Makes browsing my dictionary easier.

Discussion

SpaMMed TESTER iPhoneiPad ·

@efko still waiting for this. My suggestion is that keyboard already knows what language it’s on, once a word is learned, it saves into that language.

Ed MOD ·

@SpaMMed

How would we deal with this in case we're using multiple languages at the same time? I'm using 3 all the time. How does it know what to save and for which language? And in the Netherlands we use a lot of English words, so I guess that every person who has activated Dutch, has English activated as well, and wants to use a saved word in both languages.

SpaMMed TESTER iPhoneiPad ·

We’ll if it combined it uses the old system, but if someone uses distinct languages with intentional swipes, then it’s differentiated.

The combined will be under a (General) filter.

Ed MOD ·

Thanks for clarifying up to @efko to decide

efko DEV iPhoneDuo ·
status → In progress
muleluku MOD · · edited

Even with multiple languages active, I think it can be helpful to remember, in which surrounding context a word was typed and learned in. Since it's more of an heuristic and a guess, this information can be taken as a slight nudge to raise or lower the suggestion, the next time the word is used in context of the same or a different language.

This would be helpful for me with DE and EN in cases like when discuss my bathroom renovation in German a lot using the word "Bad" (= bathroom), I don't want my English sentences to start correcting "bad" to "Bad" after a while.

And that's the case for a lot of words that are spelled the same in English and German but are capitalized as nouns in German.

efko DEV iPhoneDuo ·

@SpaMMed here's how I'd build it.

The keyboard can't tell which language a word belongs to, it only knows which keyboard you typed it on. So that's what I'd save. A word typed on your Arabic keyboard goes under Arabic, a word typed on a separate English keyboard under English. If you type on a group (like Dutch + English on one keyboard, @Ed), the word goes under that group, "Dutch + English", because there's no reliable way to split it.

The language picker would sit in the sort menu next to Most used, Most recent and A–Z, and it works together with Custom, Capitals and All. Words learned before this change, added by hand or restored from a backup have no keyboard saved with them, so they'd show under "No language" until you type them again.

Would that work for what you had in mind?

efko DEV iPhoneDuo ·
status → Needs info
SpaMMed TESTER iPhoneiPad ·

Yes this is fine @efko

Ed MOD ·

Let's try to make this as user friendly as possible. And although I know this is always the objective, but the more customization and variables come in, the more effort and time a user needs to take to understand what's happening here. So if I combine both German and English, and use Gangsta or delulu, it will be saved on that combi right? Now what if I have English and French combined as wel, and English and Dutch, so 3 combos tho all having English. Where would I find those 2 words, belonging to the English language? Can we search by word and see where it's at? And then assign it to another combo of keyboards or a single keyboard too? This is going far but I'm afraid people don't fully get it. I'm not the smartest guy in the room, you might know how to solve this @efko

efko DEV iPhoneDuo ·
status → In progress
overclocked MOD ·

@efko

Assigning learned words to a specific language or language group based on the keyboard used for input is reasonable. Nonetheless, having all words learned up to the current build categorized as “No Language” is somewhat unsettling. A manual mapping option for these words to a language would be welcome, provided it does not add extra complication.

I think this mapping option may also prove handy for reassigning a word that was wrongly mapped due to a user error. For instance, Malayalam script words derived from a transliteration keyboard going under the English learned words. Perhaps display the mapping feature when multiple words are selected, along with the delete option.

SpaMMed TESTER iPhoneiPad · · edited

@efko what @overclocked is suggesting is right, I also think “no language” should be set to “unspecified” or “general” tho I’m more into “unspecified”

Whoever presses this tag filter will see a little description saying something along the lines of,

These are words/word pairs that are untied to specific languages, either from old build before update, or because the keyboard couldn’t determine the contextual language, you can manually map them to the correct language by holding it and assigning it to you language/language pair.

muleluku MOD ·

Continuing my previous thought. If we don't want to take the language of the surrounding sentence into account in a grouped languages setup, would it make sense to assign typed known words to the respective language, from which dictionary it cones from, automatically and only newly learned, unknown words get assigned to the group?

efko DEV iPhoneDuo ·

@SpaMMed fixed for build 508, and in 2.3.1 on the App Store: the sort menu in Learned words now has a Language section. One change from what I wrote before: on a keyboard with a group like Dutch + English, a word goes under whichever language was active when you typed it, not under a "Dutch + English" combo. Words you already typed are sorted right away; only words added or edited by hand or restored from a backup sit under Unspecified, and those work in every language. @overclocked moving words to another language by hand isn't in yet, because the language also decides where the keyboard uses the word.

efko DEV iPhoneDuo ·
status → Needs testing
Ed MOD ·

comment deleted

Ed MOD ·

comment deleted

Ed MOD ·

comment deleted

Ed MOD ·

comment deleted

efko DEV iPhoneDuo ·

comment deleted

Ed MOD ·

comment deleted

efko DEV iPhoneDuo ·
SpaMMed TESTER iPhoneiPad ·

@efko ok for the most part it works great, but when browsing I see english words in Arabic (very few) and some Arabic words in english.

Also for the unspecified ones, I’m not seeing an option to add them under said languages

overclocked MOD ·
status → Reopened (suggested by @SpaMMed)
efko DEV iPhoneDuo ·

@SpaMMed those were words you typed on one keyboard and confirmed with space after switching to the other, so they took the language you had switched to, and the keyboard you actually typed them on stopped suggesting them. Fixed for build 511 and in 2.3.1 on the App Store: a word now only goes under a language whose keyboard can type it, and the ones already in the wrong place move back the first time you open the keyboard. Unspecified words still can't be moved by hand, they work in every language as they are.

efko DEV iPhoneDuo ·
status → Needs testing
SpaMMed TESTER iPhoneiPad ·

Good works as expected

efko DEV iPhoneDuo ·
status → Done (suggested by @SpaMMed)
SpaMMed TESTER iPhoneiPad · · edited

Not added in word pairs, can you add it there?

@efko

overclocked MOD ·
status → Reopened (suggested by @SpaMMed)
efko DEV iPhoneDuo ·

@SpaMMed word pairs don't store a language of their own, so a pair now goes under the language of its second word, the one you typed it with. Added for build 517 and in 2.3.1 on the App Store: Word pairs have the same Language section in the sort menu, and the language you pick stays when you switch between Words and Word pairs.

efko DEV iPhoneDuo ·
status → Needs testing
SpaMMed TESTER iPhoneiPad ·

Yes, Thx Peter, this is game changing

efko DEV iPhoneDuo ·
status → Done (suggested by @SpaMMed)

Sign in to comment or vote.