ruby-gettext / gettext

Gettext gem is a pure Ruby Localization(L10n) library and tool which is modeled after the GNU gettext package.
https://ruby-gettext.github.io/
69 stars 28 forks source link

msgcat method / tool #23

Closed alup closed 10 years ago

alup commented 11 years ago

Are you going to support functionality similar to GNU msgcat command? I would like to concatenate and merge multiple .po files to one and preserving their translations.

msgmerge is only meant for applying a new template to existing translation. It will discard any localizations in the second file by design, isn't it?

kou commented 11 years ago

Are you going to support functionality similar to GNU msgcat command?

There is no plan that we implement GNU msgcat like command. But we will accept a pull request that implement rmsgmerge and tests of it. Could you try it? :-)

msgmerge is only meant for applying a new template to existing translation. It will discard any localizations in the second file by design, isn't it?

Yes. We can refer to rmsgmerge implementation to implement rmsgcat.

alup commented 11 years ago

Ok, I'll give it a shot, when I find some time to spend :).

kou commented 11 years ago

Thanks!!!

kou commented 10 years ago

I've implemented it. I'll release a new version soon.

alup commented 10 years ago

Super!!! :+1: