@martimiz DBFloat uses number_format and not NumberFormatter ... you might be able to add an extension to DBFloat with a "NiceI18N" method that formats the number using the NumberFormatter as a workaround. Of course one could see this as bug/enhancement

I’ll stop being lazy and give it a shot 😄

If you version the link object it might work? Dunno

I have a custom element (versioned) with a many-to-many relationship to testimonials (not versioned)

Does anyone know off the top of their head if you can use many-many-through to link a versioned and a non-versioned object? (edited)

It seems to work, but not fully. I wanted to be able to have a “draft” relation but the versioned state indicator in GridField doesn’t seem to work - I guess it’s looking at the non-versioned object and deciding not to show “draft”, rather than looking at the join record

It seems to work, but not fully. I wanted to be able to have a “draft” relation but the versioned state indicator in GridField doesn’t seem to work - I guess it’s looking at the non-versioned object and deciding not to show “draft”, rather than looking at the join record (edited)

@wmk I suppose by default they’re all strings. I would have hoped that setting fieldcasting to Float (DBFloat) or something like that would trigger i18n, but it doen’t seem to