firefox

Changing Firefox msgstr to Thunderbird - Is there a built in way to do this in Mac OS X or Linux?

In the course of customizing Mozilla's Kitsune knowledge base website for Thunderbird (from the great Mozilla SUMO dev team, thanks jsocol and team!) software, I needed to change locale strings to reference Thunderbird instead of Firefox. Locale strings consist of:

  • msgid e.g. "Firefox Help"
  • followed by msgstr which is the localized version e.g. "Firefox-Hilfe" (for the German locale)

For Thunderbird I changed all occurences of Thunderbird to Firefox where there was a Thunderbird equivalent (I didn't change strings that have no Thunderbird equivalent e.g. there is no mobile version of Thunderbird so I left all mobile related strings unchanged). In the above example "Firefox-Hilfe" becomes "Thunderbird-Hilfe"

To do this automatically for all languages that the knowledge base for Thunderbird supports (which is dozens), I wrote a ruby script to do this: changeMessages-po-to-tb.rb

Of course this fails for languages where nouns are declined like Polish which in various situations uses "Firefoksa" instead of "Firefox" for example.

But it works for most of the locales and therefore has saved me and the localizers considerable time.

Is there a better way to do this? Perhaps a built in search and replace utilty in Linux or Mac OS X?

2010 Mobile Tech Predictions

Hard to believe that I didn't make any predictions in 2009 (my 2008 predictions)!

Herewith again some randomly ordered Mobile predictions which are worth what you paid for them!

Mobile

  1. Google will introduce a "comes with data" mobile phone featuring an easy environment to write HTML5 & JS apps
  2. A Canadian mobile phone carrier will actually sell mobiles other than the iPhone that have current software & aren't 6-12 months old :-) The current "sell old phones with old firmware with bogus customizations" model of Rogers, Bell and Telus will be over in 2011.
  3. Apple's tablet will be introduced, it wil be big seller and a great creator and consumer of multi-media and it will be closed and have the iPhone App Store model rather than the Mac app model.
  4. Nokia will deliver Maemo 6 and an N900 successor but it won't be good enough for the mainstream but will be awesome for me & other mobile devs because mobile Firefox will offer superior HTML5 and JS experience (yes working for Mozilla I am biased :-) !)
  5. The next iPhone will boast a 5 mega pixel camera and other still and video imaging improvements which will be more than good enough for old cameraphone snobs like me and accelerate Nokia's decline among mobile multimedia creators.
  6. Mozilla Messaging (my employer!) will introduce a version of Raindrop that doesn't require you to do geeky things like install things like CouchDB yourself and it will rock on Android, Maemo and any other modern open mobile web  environment (sorry Blackberry, iPhone and Symbian but you lose since you are all neither open or modern or both :-) !) Just kidding, it will rock on any modern mobile web browser open or closed methinks :-) !

 

Subscribe to RSS - firefox