Sorry, to hear no one ever answer you questions....
Maybe  you asking the wrong person the question....



On Fri, Sep 19, 2008 at 2:18 PM, Emanuele Tozzato <[EMAIL PROTECTED]>wrote:

>
> nobody ever answer my questions!! :)
>
> On Thu, Sep 18, 2008 at 7:30 PM, Emanuele Tozzato <[EMAIL PROTECTED]>wrote:
>
>>
>> I want to customize notices and interfaces, would you use
>> session[:language] and a YAML file ?
>> I don't want things automatically translated, just accurate text in
>> Italian, Portuguese and English!
>>
>>
>> lang.yml
>>
>>  it:
>>     welcome: *Benvenuto* sul Sito
>> en:
>>     welcome: *Welcome* to the Website
>>
>> application_helper.rb
>>
>>    def say(string)
>>     RedCloth.new(@lang[session[:language]][string]).to_html
>>   end
>>
>>
>>
>>
>> --
>> Emanuele Tozzato
>> +1 (619) 549 3230
>> 4955 Narragansett Ave Apt #9
>> San Diego Ca 92107-3157
>> http://mekdigital.com
>>
>
>
>
> --
> Emanuele Tozzato
> +1 (619) 549 3230
> 4955 Narragansett Ave Apt #9
> San Diego Ca 92107-3157
> http://mekdigital.com
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to