It would be probably better to have `locale`, `locale=` and `translate` as methods defined in `application.rb` and calling here `Apipie.app.locale`. `Apipie.app.locale=` etc.