Closed Bug 1049560 Opened 10 years ago Closed 10 years ago

Build all keyboard layouts regardless of the available UI translations

Categories

(Firefox OS Graveyard :: Gaia::Keyboard, defect)

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1029951

People

(Reporter: hsivonen, Unassigned)

Details

When investigating bug 1049509, I discovered that Gaia sources actually already contain a Swedish keyboard layout (https://github.com/mozilla-b2g/gaia/blob/master/apps/keyboard/js/layouts/sv.js) but it's just not available in Settings (either on Flame using nightly Gaia from ftp.mozilla.org or using self-built Gaia in desktop Firefox)! On IRC on #b2g I was told the Swedish keyboard isn't being built because localizations take space and, therefore, are not all are included.

I think it's very unfortunate not to build the full set of keyboard layouts in all cases. Even if it might make sense to save space by not shipping all UI translations in all cases, there are plenty of people who can manage just fine with en-US UI strings but who want to be able to write their native language anyway. Including all keyboard layouts would help these people (including me) and cost little in deployment code footprint.

Please build all the keyboard layouts by default.
We can't. It takes up too much space because dictionary sizes. It's easy to add it yourself to your build. Just run:

GAIA_KEYBOARD_LAYOUTS=en,sv,nl APP=keyboard make install-gaia

Or set the GAIA_KEYBOARD_LAYOUTS var in your local.mk file and it will be added to every build.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
Any reason why this can't be done without dictionaries?

For example, for me it would be super-useful to have the Swedish/Finnish *layout* available even without dictionaries. (In fact, due to bug 1049514, I have to turn off dictionaries anyway at present, since they interfere too much with writing both English and Finnish on one *layout*.)
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
At the moment they are intertwined, so a layout will always build a dictionary. The behavior you want is specified in bug 1029951. Let's discuss it there.
Status: REOPENED → RESOLVED
Closed: 10 years ago10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.