statamic / cms

The core Laravel CMS Composer package
https://statamic.com
Other
4.08k stars 533 forks source link

Localize-settings on fieldsets not working when linked in a replicator #3131

Closed espenlg closed 3 years ago

espenlg commented 3 years ago

Bug Description

When adding localization to fields within a fieldset and this fieldset is then included in a replicator then the localization setting does not have any effect. If adding localization to the replicator then localization is enabled on all fields within the fieldset – even though some of them are disabled.

How to Reproduce

Extra Detail

Environment

Statamic 3.0.38 Pro Laravel 8.21.0 PHP 7.3.12 No addons installed

Install method (choose one):

jasonvarga commented 3 years ago

Only top level fields can be localized, e.g. the entire replicator field.

statamic/ideas#439

espenlg commented 3 years ago

Only top level fields can be localized, e.g. the entire replicator field.

statamic/ideas#429

I'm not sure how this relates to the link you provided about globals?

And I have to admit it feels a bit brutal to close issue. Could this at least be considered as a future improvement? Having a website in two or more languages is not rare in my part of the world and the lack of being able to define fields like assets, settings like padding/margin/color(s), email address, phonenumbers, names and such as read only seems strange.

sjclark commented 3 years ago

@jasonvarga think you may have linked to the wrong issue/idea above there 😄 @espenlg he may have been meaning this? https://github.com/statamic/ideas/issues/226

espenlg commented 3 years ago

@espenlg he may have been meaning this? statamic/ideas#226

Now that makes sense. Thank you!

jasonvarga commented 3 years ago

I think I meant to link to statamic/ideas#439 but 226 is good too.