This extension simply checks all subfolders in your messages directory for missing translation files. It also compares existent files for missing translation keys. This little script just scans the directories and files - no write access.
Future releases may contain automatic translations from google translate or any other service.
Just created this little helper for my own and wanted to share it.
commandsI've a extra console bootstrapper console.php which looks like that:
// or where ever your yii frameworks is located $yii=dirname(__FILE__).'/protected/vendors/yii/framework/yii.php'; $config=dirname(__FILE__).'/protected/config/console.php'; if(!file_exists($yii) || !file_exists($config)) die('Framework of config not found.'); require_once $yii; Yii::createConsoleApplication($config)->run();
#> cd <YOUR_PROJECT>/protected
#> php console.php checktranslations
Total 1 comment
Just downloaded it but haven't tried it yet. It seems like a very useful tool.
I wonder if you've done any work on the automatic translation from Google Translate? Would love to see that.
Leave a comment
Please login to leave your comment.