```ruby
FastGettext.add_text_domain 'app', :path => 'locale', :type => :po
FastGettext.default_available_locales = ['en'] #all you want to allow
FastGettext.default_text_domain = 'app'```

Make sure locale path is absolute - the app code is called from within crons etc.
user
```ruby
FastGettext.add_text_domain 'app', :path => File.join(RAILS_ROOT, 'locale'), :type => :po
FastGettext.default_available_locales = ['en'] #all you want to allow
FastGettext.default_text_domain = 'app'```
assistant