On 12 Nov 2005, at 17:09, Jamis B. wrote:
This really fascinates me. I can completely understand that you may
need i18n for your apps, and without i18n support, you can’t get
your work done. But why does i18n need to be in the core? (I’m not
saying it shouldn’t be, just wondering why it must be.)
I work on projects that are cross-EU and even within the UK several
of the big projects that I am lining up now have Welsh audiences. If
I haven’t got a clear strategy to handle multi-lingual work within a
particular framework, for those projects, that framework can’t go
near it.
This isn’t preference: on some projects I work on it is law. I can,
in theory, go to prison or have to repay a multi-million budget if I
ship code that isn’t multi-lingual-friendly.
Plus, I have a hard time thinking of a web application that would
need to be mono-lingual these days. I know everybody thinks English
is the lingua franca of the web, but in the same way you wouldn’t
dare ship a web app that is not time-zone aware, I can’t think how
anybody could think multi-lingualism isn’t a critical capability of
any code that ships these days. But that’s me.
The assumption, it seems, is that if something is in the core, it
will be just what you need. This is definitely not going to be the
case for everyone–as has been pointed out repeatedly, i18n has
many application-specific needs, and just because there may someday
be an implementation of i18n in core, that does not imply that it
may be the implementation you need. I see the proliferation of
3rd party i18n efforts as a good thing, in many ways.
Sure, lots of third party solutions is OK, and I’ve been looking at
those today - as I pointed out in my initial e-mail, I have mailed
Josh to send me his SVN URL so I can see if that hits the spot. What
I’m saying I suppose is that without i18n in there, or at least a
clear set of third-party solutions (which atm, there isn’t a clear
path for this set out, not that I can see anyway) there are many,
many, many projects for which Rails just couldn’t be considered.
That’s not a bad thing or a good thing: it’s just a fact.
I don’t care if it’s in core of it’s in a plugin. I just want it to
exist and for the solution to the problem to be well understood. For
me, it makes sense for i18n to be in core, but I’m just one of the
5.7 billion people on the planet that doesn’t live in the USA.
May I politely suggest that people stop complaining about the
lack of i18n in Rails, and please do something about it. Use an
existing solution. Join an existing effort to build something else.
Or even build something else yourself.
I’ve already explained that whilst I haven’t looked in a few months
because I’ve been busy on other projects, I’ve started looking at
this again. I don’t have the resources to throw at this right now,
but I’m not saying “do this for me”, I’m saying “this needs to be
thought about, otherwise people might not take the framework
seriously and that would be dumb”, that’s all.
Some members of the core team have put forward i18n solutions that
work for them. Other rails users have proposed several other
solutions, either complete or in-progress. If they don’t work for
you, put together something that does. Once we have a few really
good solutions that have been tested in the field, we can start to
decide what kind of solution ought to reside in core, if any. (The
key here is “tested in the field.”)
Yup, understood. I think for me the key is to move everything - error
messages, language in template code, everything - out into an
industry-standard i18n format.
done as much as we’re going to at this point, I think. The ball is
in your court now (where “you” refers to “anyone needing an i18n
solution”.)
I think you’re confusing me with somebody going around apportioning
blame. I’m not. I’m telling you that for Rails to truly be taken as
seriously as some of the Java (or even Python) frameworks out there
the core team should consider thinking about i18n and working out a
way of being able to make it as easy as the rest of Rails, perhaps
based on an existing solution, and that if I were in your position I
wouldn’t ship 1.0 until it had been thought about. Shipping 1.0 isn’t
a job I’ve signed up to, so my opinion counts for nothing.
However, what strikes me as strange about your response is that you
appear to be suggesting we should just shut up about it. All I was
doing was adding to the discussion, and your response has a hint of
hostility about it. Perhaps I’m reading it wrong, but it doesn’t seem
like a response that is about opening up the debate. RoR aint a
democracy, sure, but I find it odd that the first response to my
first mail to the list is basically a long way of telling me to shut
up… if I’ve misread you, my apologies in advance.
Anyway, I shall go and dig through the i18n solutions already out
there and see what comes of it…
–
Paul R. - http://iconoplex.com
“Cogito, ergo sum.” – Descartes