开发者

how to detect whether strings are not captured for localization in .po files i.e no equivalent entry are in all local files

开发者 https://www.devze.com 2022-12-17 23:25 出处:网络
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 comma

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
0

精彩评论

暂无评论...
验证码 换一张
取 消