我有翻译整个网站的这项任务。该网站已部分翻译,这意味着它利用了ZendFramework(v1)的翻译功能。
翻译存储在基于数组的语言文件中,如下所示:[en.php]
<?php
return array(
// Language Config
'config_LanguageDirection' => 'ltr',
// Site wide translations
'site_name' => 'My site',
'site_slogan' => 'Le slogan',
'site_keywords' => 'key is the words',
'site_description' => 'Yada yada yada',
'header_logo_img_alt' => 'My site',
'fat_footer_company_details' => 'Trivial copyright information',
'company_name' => 'UnoBambino',
);
是否有PHP或Bash / Shell中的脚本可以搜索所有目录并查找未翻译的字符串?
我在想