Closed juizmill closed 2 years ago
You need to include this gem https://github.com/svenfuchs/rails-i18n/blob/master/README.md
But then you might run into this issue https://github.com/SpinaCMS/Spina/issues/348
Includes gem! Now I have this error
juizmill@ubuntu-pc:~/dev/spina-cms $ rake spina:update_translations
rake aborted!
ActiveRecord::RecordInvalid: Validation failed: Title can not be empty
Tasks: TOP => spina:update_translations
(See full trace by running task with --trace)
Can you tell what title this is?
Its possible to fast fix?
I have the same problem with :cs locale on the new project, ... So it's not about #348 ... There is not very much information within the --trace ...
Maybe it's something to do with move from Globalize to Mobility ... ?
Thx for the hint/fix.
Has anyone found a fix for this? I am running into it trying to update_translations to french.
ActiveRecord::RecordInvalid: La validation a échoué : Titre doit être rempli(e)
which is the same error as @juizmill was getting
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Trying to translate to pt-BR is generating this error.
The spina.rb file looks like this: