Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code inspection sometimes uses application language instead of rubberduck language #6214

Open
thefasquelle opened this issue May 14, 2024 · 1 comment
Labels
bug Identifies work items for known bugs

Comments

@thefasquelle
Copy link

Rubberduck version information
Version 2.5.9.6316
OS: Microsoft Windows NT 10.0.19045.0, x64
Host Product: Microsoft Office 2016 x64
Host Version: 16.0.5443.1000
Host Executable: EXCEL.EXE

Description
My application language is french, but rubberduck is configured to use english.
In the Code Inspections pane, french is used instead of english for some elements :
(english equivalent are guessed)

  • "La variable" instead of "Variable"
  • "L'étiquette de ligne" instead of "Line label"
  • "L'accesseur" instead of "Accessor"
  • "La procédure" instead of "Procedure"
  • "La fonction" instead of "Function"
  • "Assignation non utilisée" instead of "Assignment not used"
  • "Le paramètre" instead of "Parameter"

This does not happen all the time, for the same parsing, the french version and the english version can be mixed:
image

image

seems related to #3940 and #3607

Logfile
RubberduckLog2.txt

@thefasquelle thefasquelle added the bug Identifies work items for known bugs label May 14, 2024
@retailcoder
Copy link
Member

The app sets the culture for the main thread at startup, and in theory that makes the resource manager pull the correct culture.. the problem should be pretty apparent by going over exactly how each inspection is pulling its description string - this should be implemented in a base class to be identical for all... in theory.

Should be an easy fix, just a bit tedious.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Identifies work items for known bugs
Projects
None yet
Development

No branches or pull requests

2 participants