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.
- Yii 1.1 or above (I haven't tried it out under 1.0, but I'm quite sure it'll run due to a minimum of yii functions)
- Extract the release file under
I've a extra console bootstrapper console.php which looks like that:
<?php // 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();
In your console/terminal just call it: ¶
#> cd <YOUR_PROJECT>/protected
#> php console.php checktranslations
Change Log ¶
February 5, 2010 ¶
- Initial release.