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.
Documentation ¶
Requirements ¶
- 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)
Installation ¶
- Extract the release file under
commands
Usage ¶
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.
Handy utility
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.
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.