Files
nairobi/spec/features
Javi Martín 1ab3b7f42d Don't force translations for the current locale
Globalize creates a translation for the current locale, and the only way
I've found to change this behaviour is to monkey-patch it.

The original code uses `translation.locale` instead of
`Globalize.locale`. Since `translation.locale` loads the translation
with empty attributes. It both makes the record invalid if there are
validations and it makes it almost impossible to create a record with
translations which don't include the current locale.

See also the following convertations:

https://github.com/globalize/globalize/pull/328
https://github.com/globalize/globalize/issues/468
https://github.com/globalize/globalize/pull/578
https://github.com/shioyama/mobility/wiki/Migrating-from-Globalize#blank-translations
2018-11-05 18:20:50 +01:00
..
2018-07-12 10:17:25 -04:00
2015-09-13 11:47:57 +02:00
2018-10-09 22:15:05 +02:00
2018-07-20 12:28:56 +02:00
2016-02-08 17:49:03 +01:00
2018-07-15 13:58:32 +02:00
2018-05-22 15:41:10 +02:00