Skip to content
This repository has been archived by the owner on Jan 13, 2023. It is now read-only.

Hebrew Language #26

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Hebrew Language #26

wants to merge 1 commit into from

Conversation

wspdyb
Copy link

@wspdyb wspdyb commented Aug 11, 2020

I edited the file to add a Hebrew language.

ערכתי את הקובץ להוספת שפה עברית.
Copy link
Owner

@Clam- Clam- left a comment

Choose a reason for hiding this comment

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

Some changes need to be made here

Comment on lines +49 to +65
Map<Character, Integer> enMap = new HashMap<Character, Integer>();
enMap.put('.', 1); enMap.put(',', 1); enMap.put('!', 1); enMap.put('?', 1);
enMap.put('-', 1); enMap.put('"', 1); enMap.put('\'', 1); enMap.put('@', 1);
enMap.put('#', 1); enMap.put('$', 1); enMap.put('%', 1); enMap.put('&', 1);
enMap.put('*', 1); enMap.put('(', 1); enMap.put(')', 1); enMap.put(':', 1);
enMap.put(';', 1); enMap.put('/', 1); enMap.put('+', 1); enMap.put('=', 1);
enMap.put('<', 1); enMap.put('>', 1); enMap.put('^', 1); enMap.put('_', 1);
enMap.put('~', 1); enMap.put('1', 1); enMap.put('ד', 2); enMap.put('ה', 2);
enMap.put('ו', 2); enMap.put('2', 2); enMap.put('א', 3); enMap.put('ב', 3);
enMap.put('ג', 3); enMap.put('3', 3); enMap.put('מ', 4); enMap.put('ם', 4);
enMap.put('נ', 4); enMap.put('ן', 4); enMap.put('4', 4); enMap.put('י', 5);
enMap.put('כ', 5); enMap.put('ך', 5); enMap.put('ל', 5); enMap.put('5', 5);
enMap.put('ז', 6); enMap.put('ח', 6); enMap.put('ט', 6); enMap.put('6', 6);
enMap.put('ר', 7); enMap.put('ש', 7); enMap.put('ת', 7); enMap.put('7', 7);
enMap.put('צ', 8); enMap.put('ץ', 8); enMap.put('ק', 8); enMap.put('8', 8);
enMap.put('ס', 9); enMap.put('ע', 9); enMap.put('פ', 9); enMap.put('ף', 9);
enMap.put('9', 9); enMap.put('+', 0); enMap.put('0', 0);
Copy link
Owner

Choose a reason for hiding this comment

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

This should probably be heMap, not enMap.
Using enMap will overwrite the english map (I suspect it will also cause a compile error since it's already defined)

Comment on lines +66 to +71
// add extra characters for German and French maps.
enMap.put('€', 1); enMap.put('*', 7); // German chars
enMap.put('æ', 1); enMap.put('ם', 4); enMap.put('!', 8); enMap.put('&', 6); // French chars
enMap.put('ן', 4); enMap.put('ץ', 8); // Italian chars
Map<Character, Integer> endefritmap = Collections.unmodifiableMap(enMap);
CHARTABLE.add(0, endefritmap);
Copy link
Owner

Choose a reason for hiding this comment

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

You likely don't need these lines for the hebrew map.

@Clam-
Copy link
Owner

Clam- commented Aug 12, 2020

Hello,

Thanks for your efforts.
However it looks like you are overwriting the English character map?

I've marked it in the file.

Additionally, as per https://github.com/Clam-/TraditionalT9/wiki/New-Language-support
We need a new entry in langhelper for the hebew icon, and a dictionary (although I suppose you don't need a dictionary if you just want single character entry.
And I think you may have missed some other items from this checklist.

Thanks again.

@wspdyb
Copy link
Author

wspdyb commented Aug 12, 2020 via email

@wspdyb
Copy link
Author

wspdyb commented Aug 12, 2020 via email

@wspdyb
Copy link
Author

wspdyb commented Sep 24, 2020

ime_he_lang_lower
ime_he_lang_single
ime_he_lang_upper
ime_he_text_lower
ime_he_text_single
ime_he_text_upper
Please add to the drawable folder
These are icon files for the Hebrew language.
If you can merge the files.
And bring me an apk ??

@wspdyb
Copy link
Author

wspdyb commented Sep 24, 2020

Language Values and Strange Translation I will do later, I just want a clone of the Java, !!
Thanks.

@samsdevelop
Copy link

samsdevelop commented May 23, 2021

@wspdyb i have created a great hebrew T9 keyboard for more info pls contact me

@udif
Copy link

udif commented May 9, 2022

@wspdyb I took a look at your fork, and it seems you have many branch, each with a different change. Have you given up on advancing this?
@samsdevelop do you have a working Hebrew T9? is it free? please leave contact info.

@udif
Copy link

udif commented May 11, 2022

Please see #38 .

@wspdyb
Copy link
Author

wspdyb commented May 13, 2022

free?

@udif
Copy link

udif commented May 15, 2022

Pull request is here, how can it not be free?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants