How to use I18n Support in plain ruby project

I18n support works well if I create Rails project, but in plain ruby project I have no idea how to start use that feature.
At first I have looked for samples or documentation with no success.
Then I attached i18n gem, created folder <ROOT>/config/locales, created some YAML files in that folder.
After that I expected it should show intentions as it does for Rails project, but nothing happens.
What I have missed to adjust?

Besides, is it possible to configure folders like <ROOT>/config/locales where Rubymine should look for resources? It would be nice feature, because for our project it would be better split resources into several folders.

Environment:  RubyMine 3.1.1

Kind Regards,
Pavel  Sozonovsky

4 comments
Comment actions Permalink

Hello Pavel,

We already have an issue on the ability to configure locales folder: http://youtrack.jetbrains.net/issue/RUBY-5300
Feel free to vote, comment and track progress of it. As far as i18n support for plain Ruby projects is concerned, please refer to the following documentation page: http://www.jetbrains.com/ruby/webhelp/internationalization-and-localization-support.html

Regards,
Oleg

0
Comment actions Permalink

Hello Oleg,

Thanks for your comments. I've voted for issue mentioned, hope it is not hard to implement.
But that configuration possibility is not as important as get localization support working for plain ruby project with single predefined directory only. Unfortunately I am unable to get it working at all. Any chance to get it working? Should me create new/reopen issue?

Best Regards,
Pavel

0
Comment actions Permalink

Yep, issue is welcome.

Regards,
Oleg

0
Comment actions Permalink

Created RUBY-8437

Regards,
Pavel

0

Please sign in to leave a comment.