I’d like to get an error message if Yii cannot find a translation for a Yii:t() phrase, so I can find missing translations easily. Where can I switch that on?
Thanks a lot
I’d like to get an error message if Yii cannot find a translation for a Yii:t() phrase, so I can find missing translations easily. Where can I switch that on?
Thanks a lot
There is a console tool to do this job — yiic message. Check description here: http://code.google.com/p/yii/source/browse/trunk/framework/cli/commands/MessageCommand.php
That’s not what I asked for and what I need.
I asked for an error message to see if my translation file is complete. Simply an error if Yii cannot find a translation and falls back to the original language.
Thanks a lot! It took me a while, but now it works splendid.