-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Yes, you are right, keep it dry :)

Maybe we could modify the wizard so it downloads the correct file for
the chosen languages. Something like:

Download from rails-i18n repository the updated rails translations for
the selected languages? (necessary for correct translations of dates) [Yn]

Regards,
Ignacio


El 08/08/11 17:30, Matt Jones escribió:
> 
> On Aug 7, 2011, at 11:19 AM, Ignacio Huerta wrote:
> 
>> Hi,
>>
>> I'm testing the latest Hobo 1.3 and I have found out that by default
>> spanish translation crashes the application:
>>
>> - I create a new application with the wizard and select "es" as the
>> default language.
>> - I create a resource, for example "order" with a date field
>> - When I go to the "new" page, the name of the months are empty.
>> - When I go to the "show" page, it crashes saying "translation
>> missing: es.date.formats.default"
>>
>> I found out that some Rails translations are missing by default.
>> Downloading the example "es.yml" from 
>> https://github.com/svenfuchs/rails-i18n/tree/master/rails/locale
>> and putting it into the config/locales folder solved the problem.
>>
>> I believe this should work by default (it probably happens the same in
>> any language but english). I propose that we integrate a simple
>> default "es.yml", or maybe copy those keys into "app.es.yml". What do
>> you think?
> 
> The rails-i18n repo is the canonical source for vanilla Rails translations - 
> I don't think we want to try to maintain a parallel set. A warning or 
> something when setting up an app would probably be a good idea, though.
> 
> --Matt Jones
> 

- -- 
Ignacio Huerta Arteche
http://www.ihuerta.net
Teléfono: 0034 645 70 77 35
Email realizado con software libre
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk5ALDsACgkQBPlUJ6RHaOSVRwCg+LEz7HhNzLz+4dV9/pbpEdi5
6vEAoLZTuVtkSGv89sx9KM9zIadvpcYi
=vLUr
-----END PGP SIGNATURE-----

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en.

Reply via email to