Bruno,

you were right, some keys where missing. I thought globalite  was
doing the translation, but I found that distance_of_time_in_words was
defined in the CE's base_helper.
Then I had to add the keys used there to make it work.
Instead of doing that, I've deleted the methods
distance_of_time_in_words and time_ago_in_words_or_date from the
base_helper and then globalite came to action.
The only extra thing I did  was copying the keys and formats of es-
AR.yml from globalite to my es-AR.yml to override the things I wanted.
And that's all.

Some comments:

0) AppConfig.show_localization_keys_for_debugging = true if
RAILS_ENV.eql?('development') didn't work, don't know why.

1) Will you do a change like this in CE? if not, how can I override
the base_helper in my local app? Right now, I've deleted the methods
of the CE base_helper

2) Another good thing of globalite is the internationalization of
dates and times, I think that it would be a good thing to append a
".l" to every date in CE. Doing this every implementor of CE could
choose how to display the dates and in what language.

3) I have my es-AR.yml almost up to date, how can I give it to you?

4) I've internationalized the user_notifier model, all the subjects. I
want to give this to you to.

Happy new year!


On 5 ene, 20:21, "Bruno Bornsztein" <[email protected]>
wrote:
> Looks like you're just missing a localization key. You can turn on debugging
> to see which key it is. In environment.rb:
>
>     AppConfig.show_localization_keys_for_debugging = true if
> RAILS_ENV.eql?('development')
>
> In general, the non-English localizations need a bit of upkeep (since I
> don't look at them very often). Any help getting them up to date is much
> appreciated.
> Thanks!
> Bruno
>
> On Mon, Jan 5, 2009 at 12:12 AM, Alejandro <[email protected]> wrote:
>
> > Hi,
>
> > I've just updated to the last version of CE and I have a problem with
> > time_ago_in_words.
>
> > Apparently it's not finding the the text for doing the translation,
> > this is the output:
>
> >    * unido 36 __localization_missing__
>
> > I did nothing but updating.
>
> > Another thing that happened to me, I had to copy the white_list.rb
> > initializer of the CE folder to my app/config/initializers. CE wasn't
> > recognizing it until I've copied it.
>
> > I'll appreciate your help.
>
> > Alejandro
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CommunityEngine" 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/communityengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to