Improve the maintenance of messages and translations (i18n) #32
Labels
No labels
Security
TeX
board
done
board
ready
board
todo
part
backend
part
ci
part
docs
part
frontend
part
i18n
part
non-technical
part
packaging
prio
1
prio
2
prio
3
release-mr-5.x
size
large
size
medium
size
small
source
customer
source
customer::fsmw
source
customer::fss
source
customer::teckids
source
downstream
type
breaking
type
bug
type
feature
type
refactoring
workflow
blocked
workflow
confirmed
workflow
current-todo
workflow
discussing
workflow
new-app
workflow
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
aleksis/AlekSIS#32
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Maintaining our *.po files is a very difficult thing at the moment. I would like to discuss some ideas that might be helpful to make this business a littler bit easier.
tox -e makemessagesshould be introduced for all apps to unify the way how *.po files are created.makemessages. One possible option is, to runmakemessagesand check if there is a diff, but that won't work as expected because of changes like the following:Edit: There seems to be a working method: https://github.com/django-waffle/django-waffle/blob/master/run.sh#L32
Maybe we also can find (or write) a kind of bot (like Renovate) for updating these files automatically and then opening a merge request.
Edit: Or just include a job in the lint stage with the method used in
django-waffleto ensure that all files are up-to-date.changed title from {-Lint-} messages and translations{-?-} to {+Improve the maintenance of+} messages and translations{+ (i18n)+}
changed the description
changed the description
mentioned in merge request AlekSIS-Core!809
marked the checklist item Detect possible changes: We should find a way to check whether there are changed messages in the source code and we have to run
makemessages. One possible option is, to runmakemessagesand check if there is a diff, but that won't work as expected because of changes like the following: as completedmarked the checklist item *Tox env: I think that
tox -e makemessagesshould be introduced for all apps to unify the way how .po files are created. as completedassigned to @hansegucker
That's AlekSIS/official/AlekSIS-Core#266
unassigned @hansegucker