Skip to content

Optional javaabu/translatable support #10

Closed

Description

@n4ff4h

Optional support using javaabu/translatable's contract for other packages: in suggest, feature-detected, documented on its own page, and tested with and without it.

Activity

  1. added
    next-genNext-gen Javaabu packages
    featurePackage feature from the spec
    on Nov 4, 2026
  2. n4ff4h commented on Nov 5, 2026

    @n4ff4h
    CollaboratorAuthor

    Done: settings declared ->translatable() get one input per locale when javaabu/translatable is enabled. WidgetForm implements stencil's ResolvesTranslatableFields, so no model trait is needed. They're stored as locale => value and rendered in the current locale, falling back to the default. Translatable is in suggest, detected only through Support\Translations, and documented in docs/advanced-usage/translatable-settings.md. Tested with it (TranslatableWidgetsTest) and without it (the CI leg). Decision: as in stencil's contract, the primary (required) language is the editor's current locale; the other languages are optional.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurePackage feature from the specnext-genNext-gen Javaabu packages

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions