You may want to try this: http://www.yamllint.com And I know you already know 
this, but make sure your text editor is giving you UTF-8 code-points for your 
non-ASCII characters. BBEdit can help with this.

Walter

On Jul 18, 2013, at 6:59 AM, Tushar Patil wrote:

> As per your suggestion i only put one space between key  & value, but it 
> still won't work.
> 
> 
> On Thu, Jul 18, 2013 at 4:01 PM, Walter Lee Davis <wa...@wdstudio.com> wrote:
> 
> On Jul 18, 2013, at 4:51 AM, Tushar Patil wrote:
> 
> > Hi,
> > Here i mention my hi.bootstrap.yml file, and i use
> > create company => key use in form.html
> >
> > <%= f.submit t('.create company', :default => t("helpers.links.Create 
> > Company")), :class => 'btn btn-primary' %>
> >
> > It works fine for Hindi, but it gives problem for English
> >
> > hi:
> >  helpers:
> >   actions:          "क्रिया"
> >
> >  links:
> >    Edit:            "संपादित करें"
> >    new:             "नई"
> >    update:          "अपडेट"
> >    cancel:          "रद्द करें"
> >    enable:          "द्रश्य"
> >    disable:         "अदृश्य"
> >    Create Company:  "कंपनी बनाएं"
> >    Delete:          "हटाना"
> >
> > Let me know where i am wrong
> 
> YAML has very specific white-space requirements. Make sure you haven't 
> substituted a tab for two spaces somewhere. Also, is this bit you've quoted 
> here correct? I have only ever seen a single space after the colon when 
> defining a string value. Do the quotes make what you put here okay?
> 
> Walter
> 
> --
> You received this message because you are subscribed to a topic in the Google 
> Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/rubyonrails-talk/pGcnD5NNKmo/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> rubyonrails-talk+unsubscr...@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/54C78D04-779C-413B-AF95-D0BD4CA75107%40wdstudio.com.
> For more options, visit https://groups.google.com/groups/opt_out.
> 
> 
> 
> 
> -- 
> 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+unsubscr...@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/CAMFjjRdcCH44Ftpn%2BhiYjLjTr3%2BphxfWvH1qTzeCKto_sdgwzg%40mail.gmail.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  

-- 
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+unsubscr...@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/93E9D59A-166B-450A-A4D7-E7B010B3FCBA%40wdstudio.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to