Okay, with the first beta-testers testing b2evolution I am beggining to feel an urgent need to localize the software. I was running most of my pages with french text (like "laisser un commentaire") and the testers want english (that is at least english!) :-/
Right now I just switched back everything to english but I do need to localize this. Actually, I needed this anyway for my own site. I will eventually do it as planned and links like "leave a comment" will be displayed in the current post's language.
On blogs like this one, were posts are mixed in multiple languages (yeah I know it's a little strange, but this is Europe... :>>) that means I must have several languages handy at all times.
So I was thinking about putting the strings into arrays... but this may not be as straightforward as I could have thought, as I need to take care of several things:
- Make it efficient
- Make it readable in the source code. Replacing
'leave a comment' with
$uistring[$lang] won't do it!
- Make it easy for contributors to translate the whole product
Gotta think about it some more... ;)