I've just begun adding the backend code that will allow the Sa.bros.us installer to be translated into other languages; I hope to have the installer translation-friendly before hitting my next block of workdays. I'd like to complete the transition to gettext as quickly as possible and move on to other tasks. Here are some ideas I've got running through my head:
- Use Smarty
Right now, Sa.bros.us has absolutely no separation between the code and the output. Smarty would conceivably allow for faster theme creation and simpler, more readable code.
- Use ADOdb
Sa.bros.us has a lot of SQL code mixed in directly with the program logic; it seems that abstracting all of that into function calls would allow us to support Postgresql and many other databases fairly easily. ADOdb may be helpful here.
- Use JSON
JSON is a great way to exchange information over the web in dynamic applications. It's also a great building block for Firefox extensions. Building JSON support in could conceivably allow us to more quickly support cool mash-ups, like bookmark synchronization.
Those ideas, however, are much farther down the road. The most important thing right now is making gettext support stable and getting Sa.bros.us 1.7 out the door so people can start using the new code and adding translations. Anybody speak French or German?