Hi.
I've a weird problem with my Cake (2.0.6) app, where some strings get 
translated and some don't.
Source language is Eng, I added localization for Ita. 

This is the view file login.cpt:
echo $this->Form->submit(__('Login'));
echo $this->Html->link(__('Sign Up'), 
array('controller'=>'users','action'=>'add'), array('class' => 
'register')).'<span style="float:left;clear:none;color:#999;padding:4px 0 0 
4px;">';

And this is an extract from Locale/ita/LC_MESSAGES/default.po:

#: View/Elements/login.ctp:17
msgid "Login"
msgstr "Entra"

#: View/Elements/login.ctp:18 View/Elements/right_navigation.ctp:5
#: View/Elements/right_navigation_home.ctp:4 View/Users/add.ctp:60
msgid "Sign Up"
msgstr "Iscriviti"


On the view I get "Entra" and "Sign Up".
I cleared out the cache but no change. I checked the cache file after the first 
reload and I can find the "Entra" string but NOT the "Iscriviti" one, so it 
seems it's not even taken into account. 
The .po file doesn't seem to be wrong in syntax.
Any clue?
thanks
-- 
Lorenzo Milesi - [email protected]

YetOpen S.r.l. - http://www.yetopen.it/

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

Reply via email to