Thursday, May 27, 2010

Internationalizating CakePHP Sites

Making an app easy to translate and could show it in different languages is a simple task in CakePHP, CakePHP brings a tool and a set of functions that help the developer on this job

The first that has to be done is to use the function __() when writing strings that we want to be translate. this function has the next params:

        __($stringToTransalte, $boolean);
        $stringToTranslate: is the string we want to be translated
        $boolean: indicate whether the string is only returned or also echo, false to echo the string

Thursday, May 20, 2010

Hello World

On this blog I will post all the solutions I found when dealing with CakePHP, Javascrit, PHP, Prototype and any other stuff on my daily programming.

I work making websites for different purposes, usually I use CakePHP, but some times I have to use Drupal, Moodle or pure PHP. An in a next project I'll have to use Flash and Flex, so I will deal with them soon.

I hope you find this blog useful.