Can't find locales for I18n
Closed this issue · 2 comments
Hi all,
I would like to translate datetimepicker-rails I follow the readme but the locales aren't included. I've tried with the originals from plugin but doesn't work. Does anyone know how to make it work?
I can change few parameters on the YML file but I want to translate the ui of the plugin.
Thanks!
Hi,
You can find the locales in the MomentJs package used by datetime picker.
Üdv,
Zoli
On 2015. jan. 12., at 21:13, Jordi Garcia notifications@github.com wrote:
Hi all,
I would like to translate datetimepicker-rails I follow the readme but the locales aren't included. I've tried with the originals from plugin but doesn't work. Does anyone know how to make it work?
I can change few parameters on the YML file but I want to translate the ui of the plugin.
Thanks!
—
Reply to this email directly or view it on GitHub.
Thanks for the answer. I removed the gem because I had momentjs installed but without locales. I tried installing datetimepicker-rails again after removing it completely and by adding the gem 'momentjs-rails', '>= 2.8.1', :github => 'derekprior/momentjs-rails' manually. It didn't work, moment.js gets installed but the locales don't. I can't find them on the assets folder.
Using the default moment.js and installing the "derekprior/momentjs-rails" manually works fine using the following require: //= require moment/(locale).js
Best,
Jordi