Skip to content

Plugin Integration Validation and Settings-Override #40

@whisper67265

Description

@whisper67265

Problem

With upstream Weblate, the operator’s settings-override.py must not break Weblate’s own settings. It should load in a production-style image, keep upstream defaults (including WEBLATE_FORMATS), and register this plugin’s Django app so it can coexist with other plugins.

Acceptance Criteria

  • WEBLATE_FORMATS list contains the plugin's custom formats alongside all upstream formats after the override is applied
  • Any bugs discovered during validation are fixed in the same PR

Implementation Notes

Replace a fragile hand-maintained override with a generated settings_override.py that extends WEBLATE_FORMATS safely and wires INSTALLED_APPS / WEBLATE_ADD_APPS so boost_weblate is registered correctly. Add tests for the override behavior. Validate with both pip install -e . and pip install . in the Weblate image. Separate follow-up: ensure AppConfig in apps.py is the canonical discovery path if you tighten Django app metadata.

References

  • Related files: settings-override.py

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions