I18N - scan JH folder to generate po file
Background
we need enable gettext rake task to scan jh folder to generate po file instead of manually modify it.
- scan JH folder to get all translation
- keep
JH namespace
translation - read existing JH po file to get existing
override key
- merge them and write JH po file
Related Links
- Pot definition
- GitLab i18n externalization doc
- Rake::Task["gettext:po:update"] is defined at gettext/tools/task.rb#L475
由 Martin Tan 编辑于