Skip to content

[statistics] Add missing translations in the statistics module (non-db only) - #10933

Merged
driusan merged 9 commits into
aces:29.0-releasefrom
HachemJ:AddMissingTranslationsInStatistics
Jul 21, 2026
Merged

driusan merged 9 commits into
aces:29.0-releasefrom
HachemJ:AddMissingTranslationsInStatistics

Conversation

@HachemJ

@HachemJ HachemJ commented Jul 18, 2026

Copy link
Copy Markdown
Contributor

Brief summary of changes

This PR adds missing translations in the statistics module in French. It only includes non-db translations (hardcoded in js and php files).

Note: I used AI for translations but double-checked them as a fluent French speaker.

Link(s) to related issue(s)

@github-actions github-actions Bot added Language: PHP PR or issue that update PHP code Language: Javascript PR or issue that update Javascript code Module: statistics PR or issue related to statistics module Multilingual Any tasks related to making LORIS multilingual labels Jul 18, 2026
@HachemJ HachemJ added the 29.0.0 - Bugs Issues found during the release testing for 29.0.0 label Jul 19, 2026
@lapadulamichael

Copy link
Copy Markdown
Contributor

@HachemJ
For some reason, the translations are being stubborn. They won't stick and always required a hard refresh to come back. I tried make clean and make all, incognito tab and even clearing cache.

Enregistrement.de.l.ecran.2026-07-21.103932.mp4

@HachemJ

HachemJ commented Jul 21, 2026

Copy link
Copy Markdown
Contributor Author

@HachemJ For some reason, the translations are being stubborn. They won't stick and always required a hard refresh to come back. I tried make clean and make all, incognito tab and even clearing cache.

Enregistrement.de.l.ecran.2026-07-21.103932.mp4

Did you ever get this same problem while reviewing another multilingual PR? because this is something I brought to @driusan's attention and I thought it was a problem on my end but it could be related to the statistics modules and some other modules where I have observed it.

@driusan

driusan commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator

Has the web server been restarted? I think it caches the compiled translations and needs to be restarted if the translations are from the php-side.

@lapadulamichael

Copy link
Copy Markdown
Contributor

That seems to have worked. Thanks

@lapadulamichael lapadulamichael left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lapadulamichael lapadulamichael added the Passed manual tests PR has been successfully tested by at least one peer label Jul 21, 2026
@driusan
driusan merged commit b97692f into aces:29.0-release Jul 21, 2026
21 checks passed
HachemJ added a commit to HachemJ/Loris that referenced this pull request Jul 22, 2026
…b only) (aces#10933)

Add missing translations in the statistics module in French. It
only includes non-db translations (hardcoded in js and php files).

Note: used AI for translations but double-checked them as a fluent
French speaker.

* Resolves aces#10885
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

29.0.0 - Bugs Issues found during the release testing for 29.0.0 Language: Javascript PR or issue that update Javascript code Language: PHP PR or issue that update PHP code Module: statistics PR or issue related to statistics module Multilingual Any tasks related to making LORIS multilingual Passed manual tests PR has been successfully tested by at least one peer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants