Closed dailson-igo closed 1 year ago
Thanks for reporting. I realized that for Importmap setup an additional step is necessary. Please follow this instruction I've updated and see if it works. https://github.com/railsadminteam/rails_admin/wiki/Translations#for-importmap-setup
Thanks, @mshibuya ! All right now, using importmap and flatpickr with pt locale.
Describe the bug The location defined in the config/application.rb file is not supported by flatpickr
Reproduction steps
Expected behavior Allow rails locale setting to work in Flatpickr
Additional context
rails
version: 7.0.4rails_admin
version: 3.1rails_admin
npm package version: 8.19.2Using instructions from https://github.com/railsadminteam/rails_admin/wiki/Translations
Uncaught TypeError: Failed to resolve module specifier "flatpickr/dist/l10n/pt". Relative references must start with either "/", "./", or "../".
We need pt-BR (Brazilian Portuguese), but since it doesn't have it, pt from Portugal should help with Flatpickr Congratulations on your work, your project can revolutionize the way we develop sw. How can I contribute to the Rails Admin 3.1 project?