Ruby on Rails Monday, July 16, 2018



On Thursday, July 12, 2018 at 12:44:50 PM UTC-4, Hassan Schroeder wrote:
On Thu, Jul 12, 2018 at 8:14 AM, fugee ohu <fuge...@gmail.com> wrote:

> The keys aren't supposed to be utf8 I meant the whole yaml file It doesn't
> work in google translate, the keys get converted to utf8 along with white
> space and quotes My question is exactly what I asked

I have no idea what any of that is supposed to mean.

YAML keys can be UTF8.

Any google-translate-provided strings that I've tried work in locale files.

If you can't provide something to demonstrate the actual "problem",
then  ¯\_(ツ)_/¯

--
Hassan Schroeder ------------------------ hassan.s...@gmail.com
twitter: @hassan
Consulting Availability : Silicon Valley or remote

If you copy the entire contents of a yaml  file from translate.google.com it won't be valid yaml for your rails app Whitespaces and quotes that get converted to utf8 are seemingly the cause of the problem 

--
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/02cb6bee-ed12-4da7-ac49-cc87c5b0eef5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment