Firefox 3 Language Coverage

Note: this isn’t the full picture; some people have been very helpful in pointing out stuff I’ve missed. Please continue to send in feedback, and I’ll post an updated version in a couple of days.

I have been attempting to figure out what percentage of the net population will get the upcoming Firefox 3 (June 17th!) in their native language (“heart language”). We’re doing 48 different localizations. I’ve attempted this before, but I have been limited by the quality of data available. No-one seems to have good statistics on the language breakdown of the net population.

So, I’ve taken net population figures for each country (232 of them; that number seems high, but I guess they have a generous definition of ‘country’) from the CIA World Factbook, and split them up by the language split in that country. This assumes, therefore, that the distribution of the net population in a country is in the same proportion to the languages spoken there. I’m sure for some countries that’s a bad assumption, but I still think the resulting data is better than what I had before.

Here’s a snapshot of the spreadsheet (.ods). Headline figures:

Category Count % Coverage
Firefox 2 44 87.7%
Firefox 3 45 88.1%
Firefox 2 and 3 together 48 89.2%
L10n projects with CVS access 63 93.7%
All localizations found, including unofficial 61 92.6%
IE 7 77 97.6%

Methodological notes: Many figures estimated. Unknown speakers allocated proportionally among the languages for which there is a figure. I don’t mean to insult anyone – if I’ve overlooked your localization, I apologise. Void where prohibited. Blame Canada.

OK, now the questions:

Why does FF3 say 45 and not 48?
I only have one column in my spreadsheet for each of English, Portuguese and Spanish. IE has two Portugueses, but only one Spanish and one English. If we split them and said that IE didn’t support British English or South American Spanish, we’d gain a large advantage which I don’t think would be really reflective of the truth. But perhaps some Spanish speakers in Latin America want to argue with me there :-)
Why is FF2+FF3 more than either FF2 or FF3?
FF3 has Indonesian, Sinhala, Albanian and Serbian (welcome!), which FF2 doesn’t have. FF2 has Bulgarian, Welsh and Persian, which FF3 doesn’t have (yet).
How come “L10n with CVS access” is more than “Total localizations found”?
Because some teams with CVS access don’t seem to have produced a localization yet, and that more than counterbalances the unofficial localizations I was able to find on addons and by searching the web.
Which language communities do we serve which IE does not?
Hello to native speakers of Belarusian, Frisian, Kurdish and Mongolian. We’re meeting your needs :-)
Why is our percentage lower than IE’s?
There are a couple of relatively big languages (as well as a dozen smaller ones) that we don’t have official localizations for yet: Hindi (2.20%), Vietnamese (1.48%), Thai (0.70%), Malay (0.66%), Bengali (0.47%), Tagalog (0.39%), Marathi (0.37%), Urdu (0.32%), …. They have at least 77 localizations, we only do 48, and because we’re a free software project, we don’t work down the language popularity list from the top :-) If we ever managed to do all the localizations they have, our additional localizations for smaller languages would give us 0.75 percentage points on them.
If Microsoft were reading, which language should they do next?
Balochi (0.51%), an Asian language spoken in Iran, Pakistan and Afghanistan.

HTML5 Video – Codec Downloader

It looks like the implementation of HTML5 <video> in Firefox will use the native system media framework (DirectX, QuickTime, GStreamer) rather than come with any built-in codecs.

This decision has certain implications for cross-OS web video interoperability. There are very few or no formats that Windows, Mac and free Linux all can and do support.

So a Firefox codec downloader might be a good addition to core Firefox. Like the plugin finder, when it encountered media using a codec which it could not read, it would ask a codec finder service if a codec was available, but then instead of installing a browser-specific plugin it would install the codec at OS level.

So if a Windows user came across an Theora file, Firefox would (ideally) say something like “I can’t play this – get codec?”. If the user said yes, Firefox would go away, download DirectX Theora and Vorbis codecs, install them at OS level, and then start playing the video via DirectX as normal. As a side-effect, players like Windows Media Player would also gain the ability to play Theora, because it uses DirectX too.

Similarly, if a Linux user came across an MPEG4 file, a similar thing could happen (if the necessary licensing agreements were in place). There are trickier issues with binary compatibility here, but perhaps they could be overcome if the data in the codec finder service were well-maintained.

This would be a great aid to smoothing the user experience for all sorts of video on the web, and helping content authors publish without worrying too much that some people couldn’t play their format. Chris Double (the <video> guy) told me he liked the idea, but didn’t have time to code it. Do any of you? Or do you know anyone who cares about web video interoperability who does?

New Committer’s Agreement

We’ve just published version 2.0 of the Mozilla Committer’s Agreement[0] (PDF), which used to be the CVS Contributor Form. This is the document everyone signs in order to get permission to check in to our repositories. There’s a FAQ about the new version. Among the changes are:

  • Generalise to all SCMs and accounts;
  • Agreement is now with the Mozilla Foundation, a real legal entity;
  • Information on permitted licences has been updated;
  • …and various other tweaks to match current practice.

We would like all existing Committers to sign a copy of the new agreement. Details of what to do are in the FAQ, but if you are coming to the Firefox Summit, there’ll be an opportunity there and we’d actually prefer it if you wait. Less hassle all around.

If you aren’t coming, there’s no rush at the moment, so add it to your ToDo list. After the Summit (which is at the end of July) we’ll be chasing people who haven’t filled one in yet.

If people have questions, they can email me, or start a discussion in mozilla.governance.

[0] Yes, we had the apostrophe discussion. My current view is that it’s each copy is an agreement for a single committer, and so the apostrophe goes before the S.

New Licence Policy

After several months of development, version 2.0 of the mozilla.org Licence Policy has just been published. All code added to our repositories needs to comply with the policy. It also attempts to document the current licensing status of all the code that we maintain. There shouldn’t be anything surprising in there, but if there is, or you see a mistake, let me know.

Root Key Store Weak Key Check

Recently, a flaw was discovered in the version of OpenSSL shipped with certain Debian and Ubuntu systems, such that they generated only a very limited number of different, and predictable, keys. This has the potential to affect both SSH and SSL keys.

It would therefore be rather a big problem if any root certificates in our root store were generated on systems with weak RNGs – because attackers could then forge certificates for any website, and Firefox would trust them. Fortunately, we have ascertained that this is not the case.

We are continuing to investigate other ways that this problem may impact Firefox and the secure web, and what can be done about it.

Firefox 3 / Mozilla 10th Anniversary Parties

The Mozilla project has a long and distinguished history of holding global distributed parties to celebrate major events in the project’s life, including at the South Pole.

I’m pleased to say that we are doing this again – mozillaparty.com is now open for business, for booking parties to celebrate the release of Firefox 3 and also Mozilla’s 10th anniversary. There are 183 at the time of writing; last time, we got up to 389, so it would be good to have even more than that.

When’s a good day? shaver suggests July 1st, but then he’s Canadian. The London party will be June 19th. Sign up now!

Re-Migrating to Firefox 3

Dear Lazyweb,

I’ve upgraded to Firefox 3 RC 1 and now Firefox gives me an old version of my bookmarks file. Clearly, migration ran when I tested an earlier version, and isn’t rerunning. How can I persuade it to do so? I can’t be the only person with this problem, surely?

cd ~/.mozilla/firefox/default.xxx/ ; rm -f *.sqlite

might work, but surely there’s a cleaner way?

Summer of Code Deadline (Again)

The Summer of Code application deadline (really, this time) is midnight tonight UTC/GMT, 5pm PST. Don’t get left out :-) It is possible to update applications after you’ve filed them and before the deadline (and possible to add comments even after that) so, if in doubt, get something in.

Extending the deadline has, for us, only resulted in six or seven more applications, and the number of applications is about 50% of what it was last year. I’m not sure why that is – persuading people to apply is not really within my power, at least. In the next few days, I guess I’ll find out whether we have quality rather than quantity :-)

Summer of Code Deadline

The Summer of Code application deadline is midnight tonight UTC/GMT, 5pm PST. Don’t get left out :-) It is possible to update applications after you’ve filed them and before the deadline (and possible to add comments even after that) so, if in doubt, get something in.

SoC Applications Open

The student application period for the Google Summer of Code opens at 12:00 PDT (19:00 UTC, 20:00 BST) today, i.e. in a few hours’ time. The Mozilla list of suggested projects is now pretty much complete, although students should of course feel free to propose ideas outside that list.

Mozilla community members should encourage students they know to apply to us :-)

Updated Licence Policy

For quite a while now I’ve been working on an updated mozilla.org License Policy. This document has two parts:

  • A prescriptive part which says what licences are and aren’t permitted for what parts of our code. There have been no changes here so this shouldn’t be a surprise to anyone, but it is now hopefully explained in a clearer way.
  • A descriptive part which says what licences currently apply to what parts of our code. This information has never been gathered in one place before, and should hopefully be helpful to people wanting to use our code in other contexts.

Please review the draft document, particularly if you are the owner of a mozilla.org project like Bugzilla, Rhino, Tinderbox etc. and make sure that you understand the prescriptive parts, and that the descriptive parts are correct :-) If either of them seems wrong, let me know and I will investigate.

Mozilla Project Accepted for SoC

The Mozilla Project has been accepted to participate in the Google Summer of Code.

The student application period opens in a week’s time, on March 24th, and itself only lasts a week. Therefore, we need to do two things before then:

  1. Whip the proposed projects list into shape. Please continue to brainstorm here. We’re looking for more ideas than we’ve currently got. if you suggested something earlier, check back to see if we have any questions about your idea.
  2. Find some students. If you know of any, please encourage them to check the project list and consider applying.

Summer of Code 2008

The Google Summer of Code 2008 has been launched, and the Mozilla Project intends to submit a request to take part again. This requires us to produce a list of suitable projects in the next two weeks.

As last year, we are collecting ideas for Firefox, Thunderbird, Camino, Seamonkey, Bugzilla and L10n. If you have a proposal, head over to the Brainstorming page. Please read the instructions at the top – following them vastly increases your chances of your idea getting added to the formal Ideas page.

Note that ideas need to have a suitable mentor. So if you submit an idea and you aren’t available to or suitable to mentor it, you may want to go about trying to find one by politely emailing experienced hackers in the appropriate areas of the code.