Forum: Rails Engines development Localization for Rails Engine

Posted by Masao Mutoh (Guest)
on 2006-09-18 09:17
(Received via mailing list)
Hi,

I'm new to this list, so please forgive me
if I'm asking the wrong discussions.

--
I'm the maintainer of Ruby-GetText-Package which
produce the l10n to Ruby and Ruby on Rails.

Recently, some people ask me for the l10n
of Engines with gettext.

So I wrote a HOWTO for it.
http://www.yotabanana.com/hiki/?ruby-gettext-howto-engines

And I localized login_engine for an example.
It includes English and Japanese messages.
http://www.yotabanana.com/hiki/?c=plugin;plugin=at...

I think it's better to support l10n for Engines by itself.

Engines have a lot of message in the views/models/controllers.
If we(Japanese) think to use Engines, we need to translate
the messages by ourselves. It's not DRY for us.

Are there any chance to support Engines with GetText ?
If you agree with me, I'll work it.
Posted by James Adam (Guest)
on 2006-09-22 11:22
(Received via mailing list)
Hi Masao,

Whether or not an engine supports GetText depends on the individual
engine, and therefore the developer of that engine. I'm not sure that
the current incarnations of the login/user engines will be patched in
SVN to support this. This is primarily because of time constraints and
the fact that I'd prefer to focus on making it easier for *others* to
develop their own engines, rather than providing a suite of engines
for the public to consume.

However, that said there's no reason why, in your own engines, you
can't take advantage of GetText in a nice way.

James
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.