Skip to content

Comments

DREF: Add Static translation and feedbacks#2668

Draft
susilnem wants to merge 2 commits intodevelopfrom
project/dref-missing-translation
Draft

DREF: Add Static translation and feedbacks#2668
susilnem wants to merge 2 commits intodevelopfrom
project/dref-missing-translation

Conversation

@susilnem
Copy link
Member

Changes

  • generate Static string translation and compilemessages
  • register new fields for the translation

Commands to run:

from lang.tasks import ModelTranslator
from dref.models import *

models_to_translate = [
    SourceInformation,
    PlannedIntervention,
    RiskSecurity,
    IdentifiedNeed,
    PlannedInterventionIndicators,
]

# Display character counts for the specified models
ModelTranslator.show_characters_counts(only_models=models_to_translate)

# Run the translation process for the specified models
ModelTranslator().run(only_models=models_to_translate)

Checklist

Things that should succeed before merging.

  • Updated/ran unit tests
  • Updated CHANGELOG.md

Release

If there is a version update, make sure to tag the repository with the latest version.

- generate Static string translation and compilemessages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants