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

Version 2.4.58.2 - Error messages displayed without lithuanian characters #2876

Closed
GKucinskas opened this issue Jun 10, 2022 · 1 comment
Closed
Labels
fix is live in the last release Please download /build the last release and try to reproduce.

Comments

@GKucinskas
Copy link

Version

2.4.58.2

Operating system type + version

Windows 11

Behavior

This is the first time when I writing the issue - sorry about too little experience...
I translated user interface into Lithuanian language. Also translated the calibration html files (made copies and renamed, after adding "lt_" prefix). Also edited the source file "GUI_App.cpp" - added the 2195 line: "{ "lt", "lt_LT", }," and recompiled project.
Now all works fine, interface showing corect Lithuanian characters, after switching to Lithuanian language calibration screens also switching into translated pages.
One problem - error messages display text without Lithuanian letters - only question marks.
During the translation of calibration files I noticed that these html cannot show lithuanian characters in superslicer browser (all other browsers works perfect), but after changing characters to their codes (for example: ą -> & # 2 6 1 ; (sorry for that type of writing - cannot find how to write non converting code) I can see lithuanian characters also in SuperSlicer.
But in error mesages this solution not work - if I use clean lithuanian character (in translated and compiled SuperSlicer.mo file), I can see only question mark (ą -> ?). If I trying to write code instead of character, I can see only code, but not character ( & # 2 6 1 ; -> & # 2 6 1 ;).
Maybe there are some problems with error messages fonts? Or maybe somewhere is another source file with missing national character setting?
And question is - how I can solve this problem?

  • Steps needed to reproduce the problem
    Use lithuanian localisation files.
    Try to put something big (bigger than bed size) on the bed. And there you can see message without national characters.
    There are translated files (resources ->localization -> lt):
    SuperSlicer_lt.zip

  • Expected Results
    National characters in error messages

  • Actual Results
    screenshot
    Clipboard01

Is this a new feature request? - No
Related guides for writing feature requests: http://meta.stackexchange.com/a/259196 http://nickohrn.com/2013/09/write-great-feature-request-bug-report/

Project File (.3MF) where problem occurs

Upload a Project File (.3MF) Plater -> Save Project as...
You have to zip it (or rename it to .zip) to be able to drag& drop it here

@supermerill
Copy link
Owner

That's because i have to set what font to use for Lithuanian when drawing letters on the 3D canvas.

like for prusa3d#5479

@supermerill supermerill added the fixed for the next version That means that you should be able to test it in the latest nightly build label Jul 12, 2022
@supermerill supermerill changed the title Version 2.4.58.2 - Error messages displayed without national characters Version 2.4.58.2 - Error messages displayed without lithuanian characters Jul 12, 2022
supermerill added a commit that referenced this issue Jul 12, 2022
@supermerill supermerill added fix is live in the last release Please download /build the last release and try to reproduce. and removed fixed for the next version That means that you should be able to test it in the latest nightly build labels Jul 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix is live in the last release Please download /build the last release and try to reproduce.
Projects
None yet
Development

No branches or pull requests

2 participants