push.cx
Peter Bhat Harkins
Sociable Makes Blogs Happy
« What a Blog Post is Missing
» Know a Good Linux Feed Reader?
Biz: Sociable, web
3 comments
I just read a neat blog post on one guy’s experience using Sociable. It even has a nice graph. That’s a nice spike in traffic.
The next version of Sociable is under way. I’ve moving development to Sourceforge so that other folks can get involved, at the moment it’s mostly translation efforts (Spanish, German, Italian, Hungarian, maybe more). And on that note, if anyone has a good tutorial on using gettext in PHP, I’d love a link. I’m stuck on the code, so there’s no development happening at the moment. Frustration!
Comments
Comments are closed.
Hi.
Use php-Gettext. Many other projects already use it and it doesn’t require Gettext compiled in users system.
Check it out at I Hate PHP
Get it at Savannah
Documentation and examples on usage of both PHP native Gettext at Pablo Hoch blog or on the php-Gettext Class at BlogFish and why should you choose it instead PHP’s default one.
You will need to use __(‘text to translate’) when you don’t want to use it to return translation or _e(‘text to translate’) if you want to echo translation inside your code.
Then you can use my bash script (requires Linux and GNU Gettext installed in your local machine):
Hope it helps.