Skip to content

L10n and i18n improvements#266

Open
tombogle wants to merge 7 commits into
mainfrom
l10n-and-i18n-improvements
Open

L10n and i18n improvements#266
tombogle wants to merge 7 commits into
mainfrom
l10n-and-i18n-improvements

Conversation

@tombogle

@tombogle tombogle commented Jun 17, 2026

Copy link
Copy Markdown
Collaborator

This change is Reviewable

tombogle and others added 2 commits June 16, 2026 17:07
Fixed output of progress messages during archiving.

Refactor ComponentRole.Name to use a Func<string> delegate for live localization

Replace the stored _englishLabel string with a Func<string> _nameProvider delegate
so that Name re-evaluates on every access, picking up locale changes at runtime.
Production call sites wrap LocalizationManager.GetString in a lambda; test sites
use simple () => "label" lambdas.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Additional fixes to progress messages during archiving.

Fixed English typos and punctuation issues.

Updated localizations. Lots of corrections to the Portuguese!

@andrew-polk andrew-polk 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.

Devin has a bug report.
Also worth reading through the other flags if you haven't.

@andrew-polk reviewed 26 files and all commit messages, and made 1 comment.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on tombogle).

@tombogle

Copy link
Copy Markdown
Collaborator Author

I started to "fix" the bug, but upon further analysis, I decided to leave it. The progress message reports the actual "name" of the special session, and it's not clear that it would be good to report a localized name in its place. Additionally, changing the name under which it is archived has the potential downside of making the archive less usable, since the preferred language of the user might have nothing to do with the language of the project or the language of the person(s) wanting to access the archive. At least if it stays in English, it maximizes the possibility of being "portable" and of a future researcher being able to understand it and/otr obtain a translation into some other language.
I looked through the other flags. It caught some stuff that was worth fixing. Probably not really pertinent to this PR, but I fixed them here anyway.

@andrew-polk andrew-polk 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.

@andrew-polk reviewed 6 files and all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on tombogle).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants