Need help with gettext

I’m following the wiki instructions for using gettext:
http://manuals.rubyonrails.com/read/chapter/105

I run ‘rake updatepo’ and it creates a myapp.pot file in rails_root/po.
I
then create a sub-directory (rails_root/po/en_GB) and copy a translated
myapp.pot into it. When I run ‘rake makemo’ it doesn’t create a ‘locale’
folder like I expect it to. The task doesn’t produce any errors either

can anyone suggest where I might be going wrong?
alan

Alan B. wrote:

I’m following the wiki instructions for using gettext:
http://manuals.rubyonrails.com/read/chapter/105

I run ‘rake updatepo’ and it creates a myapp.pot file in rails_root/po.
I
then create a sub-directory (rails_root/po/en_GB) and copy a translated
myapp.pot into it. When I run ‘rake makemo’ it doesn’t create a ‘locale’
folder like I expect it to. The task doesn’t produce any errors either

can anyone suggest where I might be going wrong?
alan

Did you rename the translated file to “.po”? I believe the makemo task
looks for .po files, so if you left the .pot extension on by mistake, it
might get skipped.

Hope this helps.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs