Hey,
I have one question here:)
If webapp uses Yii::t('webapp','message'), how do I set webapp.php file to use blank translation?
e.g.
return array (
'message' => '_blank_',
);
Thanks
CoLT
Page 1 of 1
[solved] I18N how to make blank translation
#2
Posted 10 May 2010 - 08:47 AM
The message translations go into application/messages/XX/file.php. (XX = two letter language code)
For example in:
application/messages/nl/webapp.php
return array(
message => '_blank_'
);
I hope this helps.
For example in:
application/messages/nl/webapp.php
return array(
message => '_blank_'
);
I hope this helps.
Ext4Yii, The ExtJS extension for Yii Framework ext4yii.com
Ext4Yii API examples
Follow us on twitter
Developer of Ext4Yii Framework
#3
Posted 10 May 2010 - 11:24 AM
Gevik, on 10 May 2010 - 08:47 AM, said:
The message translations go into application/messages/XX/file.php. (XX = two letter language code)
For example in:
application/messages/nl/webapp.php
return array(
message => '_blank_'
);
I hope this helps.
For example in:
application/messages/nl/webapp.php
return array(
message => '_blank_'
);
I hope this helps.
Hm, I would like to add blank space e.g. 'message' => ''
Because now it uses 'message' instead of ''
CoLT
#4
Posted 10 May 2010 - 11:50 AM
Share this topic:
Page 1 of 1

Help
















