Forum: Ruby on Rails Re: Rails core going multiligual...ever?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
jmharvey.9956003 (Guest)
on 2005-11-12 13:49
(Received via mailing list)
As I mentioned on the rails-core list, Josh Sierles and I are going to
release an i18n plugin based on Muiltilingual Rails. It also supports
translating db content via a class method, e.g.:

class Product < ActiveRecord::Base
  translates :name, :description

product = Product.find 1 -> "Albondigas"

product = Product.find 1 -> "Meatballs"

It also comes with a fairly complete table of languages.

My hope is that once it becomes well established as a plugin, it will
eventually be integrated into rails core. If anybody want to check out
the beta code, send me an email at removed_email_address@domain.invalid and I'll 
send you
the subversion url. We need help with testing and docs.

Josh Harvey

Julian 'Julik' Tarkhanov wrote:

They don't care. None of the core users of Rails need this
functionality as I know. The answer will be "make a plugin".

Muiltilingual Rails project was promising, I think it could have
given Rails a good foundation - but will parties involved
agree to the ways it has to do stuff?
petermichaux (Guest)
on 2005-11-12 13:49
(Received via mailing list)
Hi Josha,

Could you please send me the svn url.

Alex J. (Guest)
on 2005-11-12 13:49
(Received via mailing list)
Hi Josha, Could yoy please send me the svn url?

Thank you and have a nice day

listbox (Guest)
on 2005-11-12 13:50
(Received via mailing list)
On 10-nov-2005, at 22:34, Joshua Harvey wrote:

> It also comes with a fairly complete table of languages.
> Josh Harvey

Please count me in
alastair (Guest)
on 2005-11-12 13:50
(Received via mailing list)
Hello all,

(Sorry not sure if this was sent or not - sent from the wrong email

I'm having a hell of a time getting Rails running under Apache for
Windows. I've created a rails app- myapp - and run it under webrick and
it works fine. I've followed the instructions on

and I simply can't get it working at all. Does anyone have any pointers
to alternative setup instructions or have any suggestions? Basically it
works to the point of:

"Now open a browser and type in ?\YourRailsAppName?

you should load the default Welcome to Rails page with blazing \FastCGI

but if i was to do \MyApp\friends\view - for example, it can't find the
file which leads me to believe that the rails side of things is not
working and it was simply loading the default welcome page as an
ordinary html page.

I'm going absolutely nuts over this.. any help would really really be


charlesleeds (Guest)
on 2005-11-14 16:07
(Received via mailing list)
Did you modify the .htaccess to use a RewriteBase?

 From .htaccess:

RewriteBase /retainit

 From httpd.conf:

Alias /retainit "C:/rails/retainit/public/"

<Directory "C:/rails/retainit/public">
    AddHandler fastcgi-script .fcgi
    Options +ExecCGI
    AllowOverride all
    Allow from all
    Order allow,deny

So basically you set an Alias in your httpd.conf and a RewriteBase in
the .htaccess.  Below is my full .htaccess file.  The instructions on
the site should work.  More info on your exact error message and what
works and what doesn't would be helpful.


# General Apache options
AddHandler fastcgi-script .fcgi
AddHandler cgi-script .cgi
Options +FollowSymLinks +ExecCGI

# If you don't want Rails to look in certain directories,
# use the following rewrite rules so that Apache won't rewrite certain
# Example:
#   RewriteCond %{REQUEST_URI} ^/notrails.*
#   RewriteRule .* - [L]

# Redirect all requests not available on the filesystem to Rails
# By default the cgi dispatcher is used which is very slow
# For better performance replace the dispatcher with the fastcgi one
# Example:
#   RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
RewriteEngine On

# If your Rails application is accessed via an Alias directive,
# then you MUST also set the RewriteBase in this htaccess file.
# Example:
#   Alias /myrailsapp /path/to/myrailsapp/public
#   RewriteBase /myrailsapp
RewriteBase /retainit

RewriteRule ^$ index.html [QSA]
RewriteRule ^([^.]+)$ $1.html [QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]

# In case Rails experiences terminal errors
# Instead of displaying this message you can supply a file here which
will be rendered instead
# Example:
#   ErrorDocument 500 /500.html

ErrorDocument 500 "<h2>Application error</h2>Rails ap
This topic is locked and can not be replied to.