Need help with gettext


#1

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


#2

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.