http://qs321.pair.com?node_id=525002


in reply to Re: Multi-language web app
in thread Multi-language web app

Well, thanks for the advices, it's getting clear to me.

In fact, despite this is a web app, it's much more a software than a web page. So, the templates are quite similiar to each other (think of phpPgAdmin, it's very similar to that).

More details:
- I'm using a homemade MVC framework, very similar to Catalyst. But I want to have just ONE view/template to ALL supported languages in one page - the templates/views are quite complex, with lots os javascript, DHTML, Ajax...
- The software is an ERP solution. So I don't care that much on beauty, but more on usability.
- I have a 10 Gb PostgeSQL database behind it, 500 tables using one single template for browsing, other for details, etc... So, you see, this template must be quite complex to handle so many different field types.
- I use BerkeleyDB with MLDBM to cache lots of user information, like passwords, and some postgres schema information, and it's doing a good/fast job on that (but I acsess it only a few times per request, not dozen of times like it would happen with a lang dictionary).
- This time I'm not worryed about translating this 10 Gb DB :)
- I'm worried about translating simple software messages like: "Please enter your username and password", "The required field %s is blank", etc...

Yes I've seen linux gettext and I thought that's a good way too. Do you know if it's faster than BerkeleyDB?

Thanks,

Diego de Lima