Subscribe to
Posts
Comments

Archive for May, 2006

PHP Get text

I have been using gettext in PHP and this is what I found out.

First add the < ?=gettext("string")?> to your php
Then “find . -type f | grep -v CVS | xargs xgettext -L PHP”
vi messages.po
replace charset with “UTF-8″
do translations
msgfmt messages.po

Then your done. I have not gotten to adding or merging text

Bouldering can be fun

I did not have a climbing partner today so I went bouldering today. For the first time ever it was fun. WOW it was fun.
Now Bouldering just looks like normal rockclimbing but shorter. But for reasons I can not quite explain it is SOOO much harder. And it is very very rough on you hands.
Today […]