I've been trying to localize my application for hours now. I followed
the documentation (1.2), tried a lot of tutorials, read a lot of posts
here but I still can't get it working.

In my app controller I have this :

uses("L10n");
class AppController extends Controller {

        var $components = array("Auth");

        function beforeFilter()
        {
                Configure::load('edd');
                $this->_setupAuth();

                $this->L10n = new L10n();
                $this->L10n->get("fre");

                Configure::write('Config.language', "fre");
        }


Here's an extract of my app/locale/fre/LC_MESSAGES/defaut.po file :

#: \views\creations\index.ctp:7
msgid "Liste des créations"
msgstr "Wow it works..."


In views/creations/index.ctp I have :

<h4><?php __("Liste des créations"); ?></h4>


I really need this to work and I really wonder what I am doing wrong.

Some help would be very much appreciated.

Thanks in advance
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to