Gettext and engines

Ok… to make sure I have the flow down correctly

To Extract Katello Strings:

  • From the foreman directory, I run rake gettext:find. This creates a
    katello.po file in the foreman locale directory which I them copy over
    to katello. Is that correct?

If so, there is now a locale/action_names.rb file. What is that?

To Extract the Foreman Strings:

*From the foreman directory, I run rake locale:find. This also creates a
katello.pot file. If I run rake gettext:find without katello, I get a
foreman.pot.

I am guessing there is an issue here :slight_smile: Is this katello.pot going go
contain foreman strings?

– bk

We have this page

http://projects.theforeman.org/projects/foreman/wiki/Translating#Translating-for-developers

with related info about translating. It's the time to put some info
about plugins there.

I will wait for confirmation, it's a bit fuzzy to me too.

> I am guessing there is an issue here :slight_smile: Is this katello.pot going go
> contain foreman strings?

We developed multidomain support in rails i18n code so we do not need to
merge those. The intention is to have separate domains.

··· -- Later,

Lukas “lzap” Zapletal
irc: lzap #theforeman