Closed zeke closed 3 years ago
Who does define gettext:find
?
Apologies @kou, I meant the rake gettext:po:update
task.
(It is aliased as rake gettext:find
in the gettext_i18n_rails
gem.)
Thanks. Could you show the name of the file that contains the content?
You need to add --translator
, --translator-name=XXX
, --translator-email=YYY
options to msginit
.
It seems that https://github.com/grosser/gettext_i18n_rails/blob/master/lib/gettext_i18n_rails/tasks.rb provides APIs to add options to msgmerge
, msgcat
and xgettext
but doesn't provide an API to add options to msginit
.
Thanks for the explanation, @kou :sparkles:
I've opened a followup issue on that repo: https://github.com/grosser/gettext_i18n_rails/issues/184
Hello there, gettext maintainers! 👋🏼
I'm new to the gettext world, and to using this gem. Running
rake gettext:find
produces a boilerplate header that looks like this:How can I configure my Ruby project so that values like
FIRST AUTHOR
andEMAIL@ADDRESS
are filled with real values when I run the rake task? I didn't see any documentation about how this works, but would be happy to contribute a pull request with docs for that, once I figure this out.Thanks!
cc @mjacobus @bigzoo