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

Problems view is not translated when changing IDE language #763

Closed
ptziegler opened this issue May 17, 2023 · 3 comments · Fixed by #1088
Closed

Problems view is not translated when changing IDE language #763

ptziegler opened this issue May 17, 2023 · 3 comments · Fixed by #1088

Comments

@ptziegler
Copy link
Contributor

ptziegler commented May 17, 2023

When changing the Eclipse to e.g. German, the title of the Problems view is not correctly translated. Weirdly enough, the correct name is shown in the drop-down menu and other views such as the Progress are correctly translated.

image

@ptziegler
Copy link
Contributor Author

It seems like the name of the view is fetched twice:

Once from the extension point, where it uses the correct name.
Once from the Memento which - as far as I understand - are persisted metadata.

Workaround: Use -DclearPersistedState=true

@iloveeclipse
Copy link
Member

Is this a real world use case? I wonder why a nee property needed to be saved to fix that.

@ptziegler
Copy link
Contributor Author

Is this a real world use case?

It is. We allow the user to change the application language between German/English. But even after a restart, the UI is only partially updated.

image

I wonder why a nee property needed to be saved to fix that.

You need some way to detect the locale of the part name. I just mentioned in the linked pull request that this is probably not the correct approach. Instead, the "part name" property should only be persisted when it's a custom name.

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 a pull request may close this issue.

2 participants