Skip to content

Optional javaabu/translatable support #16

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. added a commit that references this issue on Nov 5, 2026
  3. n4ff4h commented on Nov 5, 2026

    @n4ff4h
    CollaboratorAuthor

    Done, following n4ff4h/translatable#10:

    • Model. Models\Translatable\Form uses JSON storage (name, description). It's chosen lazily when translatable is enabled and models.form is null.
    • Builder. It edits every text in each active language.
    • Saving and exporting. sync, imports and the assistant save translations, and exports include them.
    • Optional. It's in suggest and feature-detected in Support\Translations. It's tested with translatable on and off, and a CI leg runs without it.

    Decision: a version's own text (labels, options, messages) is always stored as locale maps, so it works without translatable. Only the form model's name and description need the package.

    Docs: docs/advanced-usage/translatable.md

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