Last modified: 2013-01-18 21:03:26 UTC
Android 4.1 adds font support for Kannada, Telugu, and Malayalam but some languages like Tamil are supported on 4.0 already. It should be possible to use webfonts stuff to pull in relevant fonts, and just ship them with the app, to work on 4.0 devices that can't easily be upgraded to 4.1. (Note that 2.3 probably will not be able to render any of them correctly.) Needs testing on a 4.0 device or emulator to confirm it will work as expected.
Observations: * Kannada Mobile Site works fine on Desktop Browser - but not on devices with Android 4.0.x * Kannada desktop site displays text on left hand menu + header but not the main body part. Footer section is also found to be rendering fine on Chrome (Android 4.0.x)
Did a quick test pulling the Lohit Kannada font from WebFonts extension and hardcoding a 'lang=kn': https://github.com/brion/Wikipedia/commits/webfonts Seems to work on body text, though headers aren't being updated. Note that it seems to like the .ttf but not the .woff versions of the files.
Created attachment 11611 [details] .apk that should display Kannada body text on Android 4.0 built from https://github.com/brion/Wikipedia/commit/da8f644ff794cba531c3bbbc37d7fa9834145eeb Note that section headings *do not* display correctly at this time. May need to manually switch to Kannada in settings.
tested apk. body text works in Kannada!
[ +i18n ]