Skip to content

[WIP] Add multi-language localization support for English and Japanese#3

Merged
ShrlAlgo merged 1 commit intodevfrom
copilot/add-multi-language-support
Mar 23, 2026
Merged

[WIP] Add multi-language localization support for English and Japanese#3
ShrlAlgo merged 1 commit intodevfrom
copilot/add-multi-language-support

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 23, 2026

  • Create AddInManager/Languages/Strings.zh-CN.xaml (Chinese ResourceDictionary)
  • Create AddInManager/Languages/Strings.en-US.xaml (English ResourceDictionary)
  • Create AddInManager/Languages/Strings.ja-JP.xaml (Japanese ResourceDictionary)
  • Create AddInManager/LanguageManager.cs (language switching logic + persistence)
  • Update AddInManager/Wpf/MainWindow.xaml — replace hardcoded Chinese strings with {DynamicResource} and add language selector
  • Update AddInManager/Wpf/MainWindow.xaml.cs — use LanguageManager.GetString() for runtime strings, wire up language buttons
  • Update AddInManager/Wpf/AssemblySelectorWindow.xaml — replace hardcoded strings
  • Update AddInManager/Wpf/DependencyGraphWindow.xaml — replace hardcoded strings
  • Update AddInManager/Wpf/LogViewerWindow.xaml — replace hardcoded strings
  • Update AddInManager/Wpf/UnhandledExceptionDialog.xaml — replace hardcoded strings
  • Update AddInManager/Wpf/LogViewerWindow.xaml.cs — use LanguageManager.GetString()
  • Update AddInManager/Wpf/DependencyGraphWindow.xaml.cs — use LanguageManager.GetString()
  • Update AddInManager/App.cs — initialize LanguageManager on startup, use it for ribbon strings
  • Build and verify
Original prompt

增加多语言本地化支持,现在只支持中文,加上英文,日文


📱 Kick off Copilot coding agent tasks wherever you are with GitHub Mobile, available on iOS and Android.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ShrlAlgo ShrlAlgo marked this pull request as ready for review March 23, 2026 14:57
@ShrlAlgo ShrlAlgo requested a review from Copilot March 23, 2026 15:00
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ShrlAlgo ShrlAlgo requested review from ShrlAlgo and Copilot March 23, 2026 15:00
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ShrlAlgo ShrlAlgo requested a review from Copilot March 23, 2026 15:01
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ShrlAlgo ShrlAlgo requested a review from Copilot March 23, 2026 15:03
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ShrlAlgo ShrlAlgo requested review from Copilot and removed request for ShrlAlgo March 23, 2026 15:06
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ShrlAlgo ShrlAlgo requested a review from Copilot March 23, 2026 15:06
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ShrlAlgo ShrlAlgo requested a review from Copilot March 23, 2026 15:08
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ShrlAlgo ShrlAlgo merged commit 4872ec6 into dev Mar 23, 2026
1 check failed
Copilot AI requested a review from ShrlAlgo March 23, 2026 15:09
Copilot stopped work on behalf of ShrlAlgo due to an error March 23, 2026 15:09
Copy link
Copy Markdown
Owner

@ShrlAlgo ShrlAlgo left a comment

Choose a reason for hiding this comment

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

丢弃

@ShrlAlgo ShrlAlgo deleted the copilot/add-multi-language-support branch March 23, 2026 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants