Repository navigation
Conversation
|
Thank you for this pull request! We are considering using this pull request as the starting point for supporting several interface languages, not only Russian. Before deciding, we want to agree on one rule: internal code stays in English. That means code identifiers, comments, logs, and exception messages that only a developer or support would read. When someone reports a problem, we need to read the error and search for it, whatever language their interface uses. Only text a person sees in the interface would be localized: menus, tooltips, dialogs, Preferences, status and error messages shown to the user, and exported content such as the PDF footer. The current version also localizes several internal exceptions, for example in BoardDocument, BoardArchive, PdfDocumentWriter, and the NotSupportedException cases. Under this rule, those would go back to English strings in code. Exceptions whose message the user actually sees, such as "is not a Microsoft Whiteboard export", would stay localized. Is that fine with you? If you agree, we would also like to make a few other changes so that adding a language doesn't require code changes:
Would it work for you if we take over from your branch to build a multi-language version? |
Summary
Add Russian as Whiteboard’s first additional interface language. Whiteboard follows the Windows display language when a translation is available and falls back to English. Choose a language under Help → Preferences → General → Interface language and restart Whiteboard to apply it. Settings search accepts English and Russian in either interface language.
Implementation
C# and WPF share standard .NET RESX resources and a Russian satellite assembly. Contributors can add another language by supplying resources and registering a culture. The English interface retains its commands and shortcuts. UI language selection preserves board formats and number and date formatting.
The existing packages carry both interface languages. The Azure signing list includes the Russian satellite, and MSIX declares Russian alongside English. MSI package identities, upgrade rules, scopes, and file associations are preserved. MSI setup dialogs remain in English. Translating setup can follow separately because MSI language affects upgrade detection.
Validation
Russian interface
WPF captures from the running final build. The narrow Insert view uses a simulated 200% render scale.