Skip to content

[configuration] Translate configuration module (db translations only)#10878

Open
HachemJ wants to merge 5 commits into
aces:29.0-releasefrom
HachemJ:TranslateConfigurationDB
Open

[configuration] Translate configuration module (db translations only)#10878
HachemJ wants to merge 5 commits into
aces:29.0-releasefrom
HachemJ:TranslateConfigurationDB

Conversation

@HachemJ

@HachemJ HachemJ commented Jul 12, 2026

Copy link
Copy Markdown
Contributor

Brief summary of changes

This PR translates the configuration module in French. It only includes db translations.

This PR also refactors configuration localization to use ConfigI18n, following the existing implementation in authentication.class.inc.

It removes the unnecessary projectDescription helper from php/libraries/Settings.class.inc and its use in projectDescription.class.inc.

Finally it renames the duplicate 'HTTP Request Log Level' mislabel in RB_ConfigSettings.sql to 'PHP Exception Log Level' for the exception_log_level configuration setting.
image

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

Testing instructions (if applicable)

For anyone that will test this PR : I'm not sure what it is, but sometimes I have to reload the page multiple times for all db translations to appear. It might be something specific to this module or something happening with my machine, but this is why I refresh the page twice in the 'After' video.

  1. run make testdata to include the new raisinbread changes
  2. delete project/locale
  3. copy raisinbread/locale into project/locale
  4. run make dev (make sure it ran the msgfmt --use-fuzzy -o table.mo table.po commands)
  5. Go to 'Admin' -> 'Configuration'
  6. Switch the language to 'French'
  7. Verify that the left menu items, section headings, section descriptions, field labels and field descriptions are translated
  8. Also explore the other three pages by clicking the three “click here” links at the top of the page

Before:

Screen.Recording.2026-07-12.at.6.54.10.PM.mov

After:

Screen.Recording.2026-07-12.at.7.04.08.PM.mov

Link(s) to related issue(s)

@github-actions github-actions Bot added Language: SQL PR or issue that update SQL code RaisinBread PR or issue introducing/requiring improvements to the Raidinbread dataset Language: PHP PR or issue that update PHP code Module: configuration PR or issue related to configuration module Multilingual Any tasks related to making LORIS multilingual labels Jul 12, 2026
@HachemJ HachemJ added the 29.0.0 - Bugs Issues found during the release testing for 29.0.0 label Jul 12, 2026
…ction by similar implementation present in authentication.class.inc for config localization and some updates to raisinbread (new translations, flag changed from 0 to 1)
@github-actions github-actions Bot added the Module: dashboard PR or issue related to dashboard module label Jul 15, 2026
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: PHP PR or issue that update PHP code Language: SQL PR or issue that update SQL code Module: configuration PR or issue related to configuration module Module: dashboard PR or issue related to dashboard module Multilingual Any tasks related to making LORIS multilingual RaisinBread PR or issue introducing/requiring improvements to the Raidinbread dataset

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant