how to detect whether strings are not captured for localization in .po files i.e no equivalent entry are in all local files
Hi we have some queries regarding localization/.po files
1> We want to detect the missing strings or strings which are not being captured for L10N. how we can detect that? is that any method or command to update the strings
2> L开发者_如何学编程ocale files (.po) for "cn-zh" or another Locale are not complete (missing strings)
3> String has been captured for L10N but does not have a matching pair in .po files
This is what msgmerge
is for.
You can use the i18n shell to extract all the translatable strings from your application into a .pot
file:
$ /path/to/cake/console/cake i18n help --app /path/to/app
Or, if you put /path/to/cake/console/ in your $PATH
environment variable and cd
to your app directory:
$ cake i18n help
精彩评论