You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When uploading a file, if the file has illegal characters in it (like a space) the message in red is generated in Javascript and only in EN. The JS code should just turn on a visible/invisible SPAN instead with the translated text in it.
In general, all messages hardcoded in the javascript code should be refactored such that the messages are stored in the HTML code and its visibility is toggled on/off as needed by the JS code, instead.
Three small translation fixes have now been merged into dev: #1667 (French access-profile help heading), #1668 (storage dropdown headings), and #1669 (active/locked user dropdown headings). The broader translation work tracked here remains open.
Six focused PRs targeting dev address specific remaining gaps:
Localize API token validity duration #1671 — Localizes API-token validity and renewal durations using the existing duration helper, so French displays “1 jour” instead of “1 day”.
Translate upload dialog buttons #1672 — Translates the upload dialog’s Cancel/Upload buttons and identifies the upload action by CSS class instead of its English label, preserving validation behavior in either language.
Localize upload validation feedback #1675 — Uses translated field labels in upload errors and detects duplicate filenames through Rails error details rather than matching an English message.
Organize remaining top-level locale entries #1676 — Moves the remaining top-level locale entries into the existing language-specific directories and removes identical duplicate email labels. All 6,230 effective translation keys and values are preserved.
The PR descriptions include the relevant English/French runtime and browser validation results. These are targeted fixes; the broader JavaScript, controller, and model audits and general unused-key cleanup remain open.
Four small follow-up PRs targeting dev, covering presentation text outside #1677's validation-message changes:
Localize shared error summary counts and model names #1679 — Localizes the shared error-summary heading, including singular/plural error counts and translated model names. Tested one- and two-error submissions in the live portal in English and French without sending messages. Rails rendering checks also cover zero errors and custom heading overrides; the final French wording passed the rendering and Chromium component checks.
Translate Boutiques input hints and empty selectors #1680 — Translates Boutiques input hints and empty dropdown/multi-select messages. Tested the actual Rails partials with a single mandatory file input and empty selectors in English and French, then checked the rendered components in Chromium.
Translate Boutiques help headings #1681 — Translates Boutiques help headings and metadata labels while preserving descriptor-supplied names, descriptions, and links. Tested rendering in English and French with zero, one, and two file inputs, both mandatory and optional, including section visibility and HTML escaping; checked rendered help in Chromium.
Translate Boutiques multi-task help #1682 — Translates the CBRAIN file-list (cbcsv) multi-task instructions. Tested English/French rendering across the same input configurations, including the explanation shown only for one mandatory file input, and checked the rendered help in Chromium.
Validation used the local Apple-container Rails deployment. Chromium reported no JavaScript errors. Boutiques checks were component tests, not end-to-end scientific-tool launches. The four patches were tested together and trial-merged cleanly with #1677 at 0067e3e4.
Clarify French terminology for completed tasks #1683 — Clarifies the French Completed task state as “Finie” (“Fini” in the dashboard log toggle), with matching completed-task and archiving explanations. Terminated remains “Interrompue”; internal state values and English text are unchanged. Tested the Rails status-label helper in English/French and checked the completed-task panel, archiving panel, and dashboard toggle in desktop Chromium. The QA account had no task rows, so row labels were verified through the actual helper rather than a populated table.
Translate task-update notifications #1684 — Translates bulk task-update notification subjects, all four access/configuration failure reasons, and singular/plural task-count prefixes. Tested the actual controller’s background branch in English/French for success and each failure reason, with task mutations and process spawning stubbed. Checked generated counts and links, confirmed non-task formatting stays unchanged, then expanded the generated notifications in the live portal in Chromium.
Both were tested using the local Apple-container Rails deployment, with no browser JavaScript errors. No real tasks were changed or processing jobs launched. Test notifications went only to a disposable local QA account with email disabled; the account and messages were removed afterward.
Translate the Boutiques description toggle #1685 — Translates the Boutiques “Show more” toggle. Checked English/French Rails rendering for short and long descriptions, preserved HTML escaping, and expansion/collapse in Chromium using CBRAIN’s actual toggle handler and the deployment’s jQuery.
Translate Descriptor Maker controls #1686 — Translates Descriptor Maker’s Check Descriptor, Preview, Reorder properties, and Pad values with spaces controls. Checked English/French rendered labels and checkbox interactions in Chromium; the submitted parameter names and on values remain unchanged. Descriptor validation and preview generation were not executed.
Translate Descriptor Maker help #1687 — Translates Descriptor Maker help, recommendations, headings, and resource captions. Checked English/French Rails rendering and Chromium output, including technical JSON keys, HTML emphasis, all five resource links, and matching button terminology.
Translate Zenodo upload notifications #1688 — Translates Zenodo upload notification subjects, descriptions, singular/plural file counts, and file-entry prefixes. Exercised the actual Rails upload orchestration in English/French for success, failure, and mixed outcomes with one/two files, with external uploads and worker calls stubbed. Also checked generated-text upload errors and expanded the generated notifications in the live portal. No Zenodo requests or uploads were made.
Reuse the model description label in the site form #1689 — Removes duplicate site-description label translations and reuses Rails’ existing attribute label. Checked the key’s consumer and attribute resolution, then verified the label and editable field in the live new-site form in English/French. No site was created.
Document remaining CBRAIN translation audit findings #1690 — Documents the remaining source-audit findings, sources, scan scope, exclusions, and suggested verification. This is documentation only: the listed strings and call sites were inspected in a composed source snapshot; it does not fix the newly identified gaps.
The five code changes passed English/French Rails and desktop Chromium checks, with no JavaScript errors. They were tested in the local Apple-container deployment alongside #1677 at 0067e3e4 and our #1678–#1684 changes. Boutiques/Descriptor Maker checks were component tests rather than end-to-end tool execution. Test notifications went only to a disposable local QA account with email disabled; the account and messages were removed afterward. No processing jobs were launched.
Still open after these PRs: file upload/merge/extraction and data-provider repair notifications; viewer/availability responses; task-submission summaries; invitation and work-directory messages; loading/error feedback and file-launch-bar text; Boutiques preview warnings/headings; and other built-in tool forms. General unused/duplicate-key cleanup also remains open—dynamic keys and implicit Rails attribute lookups need consumer checks before removal. The audit does not cover every portal view/helper, external plugin, email, worker path, or generated string, and background-message recipient-language policy still needs explicit verification. These PRs do not establish complete translation coverage or make #1660 ready to close.
Actual partials, duration values, editable inputs, substitution tokens, and unchanged executable examples
Both-language Rails and browser checks passed on the isolated Apple-container deployment (Ruby 2.7.8 / Rails 5.0.7.2), composed with the existing i18n PRs including #1677. Browser component tests used the actual rendered partials/handlers with deterministic fixtures; they were not full processing workflows. No real invitations/emails, provider repairs, archive extraction, script execution, or processing jobs were performed.
The preview tests caught an existing numeric/string CBCSV ID mismatch that prevented the multi-list preview/warning from appearing; #1701 includes the narrow comparison fix. Each PR description records its own test scope and limitations.
I also updated #1690's inventory to link these fixes. Its concrete findings are now covered by pending PRs. The broader audit remains open: safe unused-key removal, paths outside the original scan (including external plugins), and a system-wide background-message language review are not claims of completed coverage. These PRs should not be treated as merged/deployed yet.
Ongoing tab, both languages. Natacha’s open PR [FIX] add missing paragraph #1711 restores the introductory help about progress bars, cancellation, and cleanup. The template had already stopped rendering it, as Pierre reported above. Fix missing and unused local key for I18n #1714 removes the unused English and French entries, so restoring the help requires both the text and the template call.
Deferred until Pierre’s v8 changes land
Upload dialog, French. Configure a large-upload help URL and open the dialog. The optional “Large datasets?” link still appears in English. Its label is hardcoded in JavaScript.
Compression feedback, French. Compress a file whose .gz name already exists. The flash reads “1 fichiers ignorés : Filename collision”. Localize the collision and read-only-provider reasons supplied by the same controller and check singular/plural wording. The collision was reproduced locally. The read-only reason was identified in the source.
Custom-filter validation, French. Submit a non-integer file size or an invalid task-description filter. Fix missing and unused local key for I18n #1714 translates the explanations, but Rails still prepends “Data size term” and “Data description type”. Add French attribute labels and check the complete messages.
This checklist records the concrete follow-ups from the review. The broader translation audit remains open.
Activity
[-]i18n addition[/-][+]Notes and improvements for I18N[/+]prioux commentedon Oct 1, 2026
When uploading a file, if the file has illegal characters in it (like a space) the message in red is generated in Javascript and only in EN. The JS code should just turn on a visible/invisible SPAN instead with the translated text in it.
prioux commentedon Oct 1, 2026
In general, all messages hardcoded in the javascript code should be refactored such that the messages are stored in the HTML code and its visibility is toggled on/off as needed by the JS code, instead.
prioux commentedon Oct 1, 2026
Generate a new API token page: in the explanations: "Ce jeton ne sera valide que pendant 3 days."
natacha-beck commentedon Oct 1, 2026
prioux commentedon Oct 1, 2026
Under the locales/ folder are two older files en.yml and fr.yml ; I think their content should be moved somewhere else down in the tree.
natacha-beck commentedon Oct 5, 2026
dlq commentedon Oct 20, 2026
Three small translation fixes have now been merged into dev: #1667 (French access-profile help heading), #1668 (storage dropdown headings), and #1669 (active/locked user dropdown headings). The broader translation work tracked here remains open.
dlq commentedon Oct 20, 2026
Six focused PRs targeting
devaddress specific remaining gaps:The PR descriptions include the relevant English/French runtime and browser validation results. These are targeted fixes; the broader JavaScript, controller, and model audits and general unused-key cleanup remain open.
dlq commentedon Oct 27, 2026
Four small follow-up PRs targeting
dev, covering presentation text outside #1677's validation-message changes:cbcsv) multi-task instructions. Tested English/French rendering across the same input configurations, including the explanation shown only for one mandatory file input, and checked the rendered help in Chromium.Validation used the local Apple-container Rails deployment. Chromium reported no JavaScript errors. Boutiques checks were component tests, not end-to-end scientific-tool launches. The four patches were tested together and trial-merged cleanly with #1677 at
0067e3e4.dlq commentedon Oct 27, 2026
Two more small, independent PRs targeting
dev:Both were tested using the local Apple-container Rails deployment, with no browser JavaScript errors. No real tasks were changed or processing jobs launched. Test notifications went only to a disposable local QA account with email disabled; the account and messages were removed afterward.
dlq commentedon Oct 27, 2026
Six more focused PRs targeting
dev:onvalues remain unchanged. Descriptor validation and preview generation were not executed.The five code changes passed English/French Rails and desktop Chromium checks, with no JavaScript errors. They were tested in the local Apple-container deployment alongside #1677 at
0067e3e4and our #1678–#1684 changes. Boutiques/Descriptor Maker checks were component tests rather than end-to-end tool execution. Test notifications went only to a disposable local QA account with email disabled; the account and messages were removed afterward. No processing jobs were launched.Still open after these PRs: file upload/merge/extraction and data-provider repair notifications; viewer/availability responses; task-submission summaries; invitation and work-directory messages; loading/error feedback and file-launch-bar text; Boutiques preview warnings/headings; and other built-in tool forms. General unused/duplicate-key cleanup also remains open—dynamic keys and implicit Rails attribute lookups need consumer checks before removal. The audit does not cover every portal view/helper, external plugin, email, worker path, or generated string, and background-message recipient-language policy still needs explicit verification. These PRs do not establish complete translation coverage or make #1660 ready to close.
dlq commentedon Oct 28, 2026
All concrete findings listed in the #1690 audit now have separate fix PRs from
dlq/cbraintoaces:dev:Both-language Rails and browser checks passed on the isolated Apple-container deployment (Ruby 2.7.8 / Rails 5.0.7.2), composed with the existing i18n PRs including #1677. Browser component tests used the actual rendered partials/handlers with deterministic fixtures; they were not full processing workflows. No real invitations/emails, provider repairs, archive extraction, script execution, or processing jobs were performed.
The preview tests caught an existing numeric/string CBCSV ID mismatch that prevented the multi-list preview/warning from appearing; #1701 includes the narrow comparison fix. Each PR description records its own test scope and limitations.
I also updated #1690's inventory to link these fixes. Its concrete findings are now covered by pending PRs. The broader audit remains open: safe unused-key removal, paths outside the original scan (including external plugins), and a system-wide background-message language review are not claims of completed coverage. These PRs should not be treated as merged/deployed yet.
prioux commentedon Nov 10, 2026
A large paragraqph of text has disappeared.
The explanation at the top of the Ongoing tab (for BackgroundActivities) is missing since commit d15529
See file
_background_activity_table.html.erbat line 46 etc.dlq commentedon Nov 12, 2026
Remaining gaps confirmed while testing #1714 in English and French:
Deferred until Pierre’s v8 changes land
.gzname already exists. The flash reads “1 fichiers ignorés : Filename collision”. Localize the collision and read-only-provider reasons supplied by the same controller and check singular/plural wording. The collision was reproduced locally. The read-only reason was identified in the source.This checklist records the concrete follow-ups from the review. The broader translation audit remains open.