Ruby on Rails Friday, August 25, 2017

So not the answer has been a bad one but your question was.

I've never used I18N and L21N in rails. So I can't help you with that.


On Fr., 25. Aug. 2017, 12:13 fugee ohu <fugee279@gmail.com> wrote:


On Friday, August 25, 2017 at 3:30:10 AM UTC-4, Norbert Melzer wrote:
fugee ohu <fuge...@gmail.com> schrieb am Fr., 25. Aug. 2017 um 09:12 Uhr:

That's not a valid answer Moderator please remove his answer


The answer that was given to you was more than valid, but you weren't able to read it correctly. The code you showed us was obviously YAML, therefore the file ending should have been yml, as pointed out. Of course, as far as I remember there are ways to use ruby files for localisation, but then you have to use ruby syntax, not YAML.

Also this is a mailinglist, and the mods do not have access to my personal mailbox, I hope at least ;) Therefore deletion is rather useless. But you are free to delete the mails you received in your personal mailbox.
 
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.

The rails docs say i can use rb or yml but they don't say what the syntax for rb should be They do say rb is preferable because it'll break with errors where yml will leave you guessing why things aren't being displayed as you expected, so I wanted to know the right rb syntax

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/8c44bc48-a5a8-46db-9a16-012111163153%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CA%2BbCVsvEPP9n8J%3DTFgHasEkKCNYRKRTRh33oFp%3Drm_dTwD3%2B3g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment