Closed
Bug 893358
Opened 11 years ago
Closed 11 years ago
Add Italian keyboard layout support
Categories
(Firefox OS Graveyard :: Gaia::Keyboard, defect)
Tracking
(blocking-b2g:koi+, b2g18 fixed, b2g-v1.1hd fixed, b2g-v1.2 fixed)
RESOLVED
FIXED
blocking-b2g | koi+ |
People
(Reporter: luigitedone, Assigned: djf)
References
Details
Attachments
(3 files, 2 obsolete files)
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:25.0) Gecko/20130711 Firefox/25.0 (Nightly/Aurora) Build ID: 20130711104256 Expected results: It would be nice to have the Italian keyboard layout.
Reporter | ||
Comment 1•11 years ago
|
||
Attachment #775137 -
Flags: review?(dflanagan)
Updated•11 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: All → Gonk (Firefox OS)
Hardware: All → ARM
Comment 2•11 years ago
|
||
Hi, Luigi, I think reading this tutorial would be helpful for you =) https://wiki.mozilla.org/L10n:B2G As for your part, I think this you should reference https://wiki.mozilla.org/L10n:B2G/Adding_Locales and, you can see instructions on "Technical Infrastructure" part Hi, kscanne, I believe you are more familiar in process of this. Can you help on this?
Flags: needinfo?(kscanne)
Reporter | ||
Comment 3•11 years ago
|
||
Hi Walter, what am I missing? Should I add it to Elmo?
Comment 4•11 years ago
|
||
Walter - I can help with word frequency data, but it appears that there is already a file for Italian in the repo: https://github.com/mozilla-b2g/gaia/blob/master/dictionaries/it_wordlist.xml
Flags: needinfo?(kscanne)
Assignee | ||
Comment 5•11 years ago
|
||
Comment on attachment 775137 [details]
Proposed patch
Luigi,
Thanks for this patch! It looks good, except for a couple of things I've noted on github. Mainly: you need to generate the it.dict file and check it in as part of the pull request.
Asking for feedback from Axel on this: Axel is this a localization issue at all? Luigi is a native speaker of Italian, so I expect he knows what a good italian keyboard layout is. Does this need further review or can we land it on master?
Attachment #775137 -
Flags: review?(dflanagan)
Attachment #775137 -
Flags: review-
Attachment #775137 -
Flags: feedback?(l10n)
Assignee | ||
Updated•11 years ago
|
Attachment #775137 -
Attachment mime type: text/plain → text/html
Reporter | ||
Comment 6•11 years ago
|
||
Hi David, I generated the it.dict file and put it in the correct path; I also tried this patch and the autosuggestion feature worked.
Comment 7•11 years ago
|
||
(In reply to Walter Chen from comment #2) > As for your part, I think this you should reference > https://wiki.mozilla.org/L10n:B2G/Adding_Locales > and, you can see instructions on "Technical Infrastructure" part The Italian localization is already available on hg (and constantly updated), so not sure I understand this part https://hg.mozilla.org/gaia-l10n/it The only part missing from that section is the keyboard layout, and I guess this is what this bug is about https://github.com/mozilla-b2g/gaia/blob/master/shared/resources/keyboard_layouts.json#L28 I don't know enough about keyboard layouts, but some things look quite wrong in apps/keyboard/js/layout.js Where does it.dict come from? I read it's generated, but I don't understand from what.
Reporter | ||
Comment 8•11 years ago
|
||
Hi Francesco, what's wrong with the keyboard layout? I think there is all you need for writing in Italian; anyway I'm opened to further changes. The it.dict file was generated from the wordlist inside gaia/dictionaries/it_wordlist.xml. Cheers Luigi
Comment 9•11 years ago
|
||
(In reply to Luigi Tedone from comment #8) > Hi Francesco, > what's wrong with the keyboard layout? Some character are not useful for Italian (IMO), others (ordinal forms) are just wrong, unless I'm misunderstanding the syntax of that file. I commented on Github the lines that I think need improvement.
Updated•11 years ago
|
Assignee: nobody → luigitedone
Reporter | ||
Comment 10•11 years ago
|
||
Francesco, I fixed some typos. Tell me if it's OK also for you now.
Comment 11•11 years ago
|
||
Just a couple of doubts about ordinals: does it make sense to have º on o (like you did) and ª on a? Also, I would leave '1': '1° 1ª', etc. or '1': '1° 1ª 1a', etc. '1a' is pretty easy to write on a keyboard, 1ª not really. Apart from that it looks good now for me.
Reporter | ||
Comment 12•11 years ago
|
||
About °, I put it there because other keyboard layouts have the same behaviour. Anyway, I fixed also ordinal numbers; I hope now it would be ok.
Comment 13•11 years ago
|
||
I think you still need to address David's comment about apps/settings/index.html
Reporter | ||
Comment 14•11 years ago
|
||
Done. I'm sorry for so many commits. If it's a problem, I can try to squash them.
Reporter | ||
Comment 15•11 years ago
|
||
flag?djf
Reporter | ||
Updated•11 years ago
|
Attachment #775137 -
Flags: review- → review?(dflanagan)
Comment 16•11 years ago
|
||
Comment on attachment 775137 [details]
Proposed patch
flod's got this covered
Attachment #775137 -
Flags: feedback?(l10n)
Reporter | ||
Comment 17•11 years ago
|
||
Any news?
Comment 18•11 years ago
|
||
we may need to add Italian to v1.1 so we will need the keyboard layouts / dictionaries like we did for bug 907763: Add Croatian, Dutch, Hungarian, and Romanian keyboard layouts for v1.1 can we start estimating the effort? thanks
Flags: needinfo?(rlu)
Flags: needinfo?(dflanagan)
Reporter | ||
Comment 19•11 years ago
|
||
I also did a separate pull request on GitHub for adding updated dictionaries (such as Italian) but it was marked as duplicate and discarded.
Comment 20•11 years ago
|
||
leo+ as we will enable partner to work with us on supporting Italian release
blocking-b2g: --- → leo+
Assignee | ||
Comment 21•11 years ago
|
||
(In reply to Joe Cheng [:jcheng] from comment #18) > we may need to add Italian to v1.1 > so we will need the keyboard layouts / dictionaries like we did for bug > 907763: Add Croatian, Dutch, Hungarian, and Romanian keyboard layouts for > v1.1 > can we start estimating the effort? thanks The effort will be minimal. Luigi is working now to squash his commits. I'll review his patch and get this landed ASAP.
Flags: needinfo?(dflanagan)
Assignee | ||
Comment 22•11 years ago
|
||
Taking this from Luigi since he is having git difficulties and won't be able to work on it until after the Summit. All I'm going to do is deal with merge conflicts and patch uplift.
Assignee: luigitedone → dflanagan
Assignee | ||
Comment 23•11 years ago
|
||
This is Luigi's patch rebased against v1-train with merge conflicts resolved.
Attachment #775137 -
Attachment is obsolete: true
Attachment #775137 -
Flags: review?(dflanagan)
Assignee | ||
Comment 24•11 years ago
|
||
This is Luigi's patch, slightly modified to work on master (and on v1.2, I think) I'm not going to land this one right now because we already have too many autocorrect dictionaries causing problems. Let's wait until bug 884752 lands first. (Then this pull request will have to be updated)
Assignee | ||
Comment 25•11 years ago
|
||
Landed to v1-train: https://github.com/mozilla-b2g/gaia/commit/02b975e6ce12922928c74276ac7d19432a03f126 Leaving this bug open so we can get Italian into master and v1.2. But I want to wait to do that until bug 884752 lands.
Comment 26•11 years ago
|
||
v1.1.0hd: 12577c2bb635e5745602ec180e2c7ab05292ccda
status-b2g-v1.1hd:
--- → fixed
Updated•11 years ago
|
status-b2g18:
--- → ?
Comment 27•11 years ago
|
||
Just flashed v1-train on my device, I can confirm the presence of "Italiano" in settings->keyboard, layout and word suggestion works as expected.
Updated•11 years ago
|
status-b2g-v1.2:
--- → affected
Updated•11 years ago
|
Updated•11 years ago
|
Flags: needinfo?(rlu)
Comment 28•11 years ago
|
||
lloks like this is fixed everywhere. is that correct?
Comment 29•11 years ago
|
||
Still missing from master and v1.2
Comment 30•11 years ago
|
||
Dear David, I'm not find it.dict in dictionaries, is it missing?
Comment 32•11 years ago
|
||
This is still missing from v1.2 and is becoming quite urgent as we still haven't been able to test it, and Italian is a v1.2 shipping locale Requesting koi? on this one
blocking-b2g: leo+ → koi?
Comment 33•11 years ago
|
||
Looks like this fall through the crack but I expect it to be trivial. djf, would you work on this or do you need some help here?
blocking-b2g: koi? → koi+
Flags: needinfo?(dflanagan)
Comment 34•11 years ago
|
||
This bug is > 1 month overdue because of bug 884752. I believe after that bug an it.dict and a layouts/it.js is all we need to add a new language right?
Attachment #811411 -
Attachment is obsolete: true
Attachment #825167 -
Flags: review?(rlu)
Attachment #825167 -
Flags: review?(dflanagan)
Flags: needinfo?(dflanagan)
Comment 35•11 years ago
|
||
Comment on attachment 825167 [details] [review] Github: https://github.com/mozilla-b2g/gaia/pull/13248 I think layout and dictionary is all we need here. I don't see we updated it.dict in Bug 884752, so leave the review flag open for David to confirm that it.dict we used is already up-to-date.
Attachment #825167 -
Flags: review?(rlu) → review+
Reporter | ||
Comment 36•11 years ago
|
||
When I wrote the first patch for the Italian keyboard the it.dict wasn't present. I used the it_wordlist.xml file that is currently into the folder gaia/keyboard/dictionaries for generating it, so the version of the Italian dictionary in David's patch is 15.
Comment 37•11 years ago
|
||
(In reply to Luigi Tedone from comment #36) > When I wrote the first patch for the Italian keyboard the it.dict wasn't > present. I used the it_wordlist.xml file that is currently into the folder > gaia/keyboard/dictionaries for generating it, so the version of the Italian > dictionary in David's patch is 15. Yes, the it.dict I used is the the one in v1.1.0hd from your commit.
Assignee | ||
Updated•11 years ago
|
Attachment #825167 -
Flags: review?(dflanagan) → review+
Assignee | ||
Comment 38•11 years ago
|
||
Thanks Tim, for bringing this back up. Delphine: with this bug landed, you should be able to test the Italian layout in 1.2. Note, however, that in order to produce a build with the italian keyboard in it you will need to customize the GAIA_KEYBOARD_LAYOUTS enviroment variable. Use something like this: GAIA_KEYBOARD_LAYOUTS=en,es,it make reset-gaia
Flags: needinfo?(lebedel.delphine)
Assignee | ||
Comment 39•11 years ago
|
||
landed on master: https://github.com/mozilla-b2g/gaia/commit/4d468a5d00a02914fb440d50110a4e5e052adc8e
Assignee | ||
Comment 40•11 years ago
|
||
Uplifted to v1.2: https://github.com/mozilla-b2g/gaia/commit/9d22b39245c8d7e77f384866c392701101ee86b0
Comment 42•11 years ago
|
||
Great, looks good to me! Flod, would you mind double checking that everything is OK as well? thanks
Flags: needinfo?(francesco.lodolo)
Comment 43•11 years ago
|
||
Yes, working great: I found Italian in the available keyboards, word suggestions and layout are correct. I've also updated our reference document https://l10n.etherpad.mozilla.org/gaia-multilocale
Flags: needinfo?(francesco.lodolo)
You need to log in
before you can comment on or make changes to this bug.
Description
•