huydq92 / hackerskeyboard

Automatically exported from code.google.com/p/hackerskeyboard
0 stars 0 forks source link

Missing letters in Lithuanian layout #188

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The Lithuanian layout doesn't let me input the following Lithuanian characters: 
ą, ę, ė, į, ų (and their uppercase variants Ą, Ę, Ė, Į, Ų).  I was 
also unable to find the Lithianian opening quotation mark („).

I'm using Hacker's Keyboard version 1.29.1288 on an Archos 101 G9 tablet with 
Android 3.2.

Some background:  Lithuanian has the usual Latin-based alphabet with 9 extra 
letters (ą, č, ę, ė, į, š, ų, ū, ž) and without q, x or w (but those 
are still useful for things like typing URLs and therefore should not be 
removed ;).  The quotation marks are „like this“ (note that the closing 
mark is the same that's usually used for opening quotations in English).

Entering these letters with a long press would be fine (a -> ą, e -> ę or ė 
or €, etc.; perhaps ' -> „, “, ").

Original issue reported on code.google.com by mged...@gmail.com on 15 Feb 2012 at 1:40

GoogleCodeExporter commented 9 years ago
Something like this would work (I wasn't sure how to add alternates for '):

<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
    <string name="alternates_for_a">ą</string>
    <string name="alternates_for_b"></string>
    <string name="alternates_for_c">č</string>
    <string name="alternates_for_d"></string>
    <string name="alternates_for_e">ęė€</string>
    <string name="alternates_for_f"></string>
    <string name="alternates_for_g"></string>
    <string name="alternates_for_h"></string>
    <string name="alternates_for_i">į</string>
    <string name="alternates_for_j"></string>
    <string name="alternates_for_k"></string>
    <string name="alternates_for_l">£₤λ</string>
    <string name="alternates_for_m">μ</string>
    <string name="alternates_for_n"></string>
    <string name="alternates_for_o"></string>
    <string name="alternates_for_p">π₱</string>
    <string name="alternates_for_q"></string>
    <string name="alternates_for_r"></string>
    <string name="alternates_for_s">š§</string>
    <string name="alternates_for_t"></string>
    <string name="alternates_for_u">ųū</string>
    <string name="alternates_for_v"></string>
    <string name="alternates_for_w"></string>
    <string name="alternates_for_x"></string>
    <string name="alternates_for_y">¥</string>
    <string name="alternates_for_z">ž</string>
</resources>

Original comment by mged...@gmail.com on 20 Feb 2012 at 10:35

GoogleCodeExporter commented 9 years ago
Thanks, I'll take a look. The 5-row keyboard has an additional mechanism to 
specify alternates directly per key, the alternates_for_* indirection is just a 
convenience for codes shared between 4-row and 5-row mode.

AFAIK there currently aren't keyboards defined for Lithuanian, should this use 
the "en_US" QWERTY 4-row and 5-row layouts with the altchar modifications you 
describe?

Original comment by Klaus.We...@gmail.com on 21 Feb 2012 at 8:45

GoogleCodeExporter commented 9 years ago
(The googlecode email said I could reply to it to add a comment here.  It looks 
like that was a lie, unless my 3-hour patience timeout is too short.  Repasting 
here by hand)

On Tue, Feb 21, 2012 at 08:45:33PM +0000, hackerskeyboard@googlecode.com wrote:
> Thanks, I'll take a look. The 5-row keyboard has an additional
> mechanism to specify alternates directly per key, the
> alternates_for_* indirection is just a convenience for codes shared
> between 4-row and 5-row mode.

I'm completely unfamiliar with hackerskeyboard.  I borrowed the solution
from a recently closed Latvian support bug.

> AFAIK there currently aren't keyboards defined for Lithuanian,
> should this use the "en_US" QWERTY 4-row and 5-row layouts with the
> altchar modifications you describe?

Yes.

Plus a way for entering „ and “, one of which is already an
altchar on the ' key, but it's a bit less important.

Original comment by mged...@gmail.com on 22 Feb 2012 at 11:15

GoogleCodeExporter commented 9 years ago
How about committing this patch?  It's the same file I'd included in comment 1, 
so no way to input „ and “, but hey, perfect is the enemy of good, and it 
would be better to have something now, instead of waiting for someone to find 
the time to make a perfect layout.

Original comment by mged...@gmail.com on 31 May 2012 at 6:08

Attachments:

GoogleCodeExporter commented 9 years ago
Is there something we could do to improve the patch before it can be applied?

Original comment by vytautas...@gmail.com on 13 Nov 2012 at 8:06

GoogleCodeExporter commented 9 years ago
Ping?

Original comment by mged...@gmail.com on 23 Mar 2013 at 8:19

GoogleCodeExporter commented 9 years ago
I am waiting for this to be fixed too!

Original comment by un1x0...@gmail.com on 23 May 2013 at 1:00

GoogleCodeExporter commented 9 years ago
*bump*

Original comment by ajst...@gmail.com on 19 Feb 2014 at 2:14

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
In case anyone is still in need of this. Added the missing quotes too.

Original comment by xcc...@gmail.com on 10 Aug 2014 at 7:38

Attachments:

GoogleCodeExporter commented 9 years ago
Link is dead, where could I find the patch?

Original comment by kaimo.me...@gmail.com on 20 Apr 2015 at 8:45

GoogleCodeExporter commented 9 years ago
Which link?  All the links on this bug report work for me.

Original comment by mged...@gmail.com on 21 Apr 2015 at 6:19

GoogleCodeExporter commented 9 years ago
I'm merging the patch for an upcoming release, with „“ added to the single 
quote key for 5-row mode. Does that look right? The patch didn't include this 
part.

+    <string name="key_ac11_main">\'</string>
+    <string name="key_ac11_shift">\"</string>
+    <string name="key_ac11_alt">„“</string>

Original comment by Klaus.We...@gmail.com on 21 Apr 2015 at 6:43

GoogleCodeExporter commented 9 years ago
This is included in v1.38.2. Changed issue status to FixInTest, will update to 
Fixed once the change is included in the production Play Store release.

Please see https://code.google.com/p/hackerskeyboard/wiki/TestReleaseOptIn for 
information on how to download test releases.

Original comment by Klaus.We...@gmail.com on 21 Apr 2015 at 7:29

GoogleCodeExporter commented 9 years ago
Thank you!

Original comment by mged...@gmail.com on 22 Apr 2015 at 6:06