winder / Universal-G-Code-Sender

A cross-platform G-Code sender for GRBL, Smoothieware, TinyG and G2core.
http://winder.github.io/ugs_website/
GNU General Public License v3.0
1.88k stars 762 forks source link

Main menu and Drop-down menus are not in English #1910

Closed LeeRossCritchlow closed 1 year ago

LeeRossCritchlow commented 2 years ago

Version

2.0.11

Hardware / Firmware

GRBL 1.1

What happened

Main menu and Drop-down menus are not in English.

How to reproduce

Downloaded from GitHub.

Operating System

Windows 10

Anything else

Every time

breiler commented 2 years ago

It will attempt to load a language that your operating system is configured for. If this didn't work for some reason you can change this setting by opening the preferences:

image
LeeRossCritchlow commented 2 years ago

I need to navigate to the UGS page. Please find attached a screen capture showing the language Gcode .

LeeRossCritchlow commented 2 years ago

I am not sure how this got marked as completed. By clicking on menu and drop-down items I was able to get to the UGS page. The language was already English, I clicked Apply but the menu and drop-downs did not change. I tried the ugsplatform.exe and ugsplatform64.exe, neither came up in English. I downloaded and replaced from a different vendor web page, still not coming up in English. I am nearing completion of the construction of my X-Y-Z setup. I need to be able to use this program. Please advise.

breiler commented 2 years ago

Try clearing all settings: https://github.com/winder/Universal-G-Code-Sender/wiki/Configuration#user-content-configuration-files

If that doesn't work attach your log file from C:/Users/[your username>]/.ugsplatform/2.X/dev/var/log/messages.log

LeeRossCritchlow commented 2 years ago

Joacim,

Renamed UniversalGcodeSender.json, firmware_config; did not solve problem.

Please find attached the log file.

From: Joacim Breiler @.> Sent: Saturday, July 2, 2022 4:54 AM To: winder/Universal-G-Code-Sender @.> Cc: LeeRossCritchlow @.>; State change @.> Subject: Re: [winder/Universal-G-Code-Sender] Main menu and Drop-down menus are not in English (Issue #1910)

Try clearing all settings: https://github.com/winder/Universal-G-Code-Sender/wiki/Configuration#user-content-configuration-files

If that doesn't work attach your log file from C:/Users/[your username>]/.ugsplatform/2.X/dev/var/log/messages.log

— Reply to this email directly, view it on GitHub https://github.com/winder/Universal-G-Code-Sender/issues/1910#issuecomment-1172871382 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ADUYRHPCO5J6MOMS37424NTVSAGTPANCNFSM5ZWWHS3A . You are receiving this because you modified the open/close state. https://github.com/notifications/beacon/ADUYRHNCPYTQLKGRYULLEXLVSAGTPA5CNFSM5ZWWHS3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOIXUJRVQ.gif Message ID: @. @.> >

breiler commented 2 years ago

You can't attach files by replying to email. Please add the log file from github web page.

LeeRossCritchlow commented 2 years ago

messages.log

LeeRossCritchlow commented 2 years ago

Should be there now.

From: Joacim Breiler @.> Sent: Saturday, July 2, 2022 3:32 PM To: winder/Universal-G-Code-Sender @.> Cc: LeeRossCritchlow @.>; State change @.> Subject: Re: [winder/Universal-G-Code-Sender] Main menu and Drop-down menus are not in English (Issue #1910)

You can't attach files by replying to email. Please add the log file from github web page.

— Reply to this email directly, view it on GitHub https://github.com/winder/Universal-G-Code-Sender/issues/1910#issuecomment-1172956539 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ADUYRHOOJRQHE6SWQYNH7YDVSCRMFANCNFSM5ZWWHS3A . You are receiving this because you modified the open/close state. https://github.com/notifications/beacon/ADUYRHKXCDENGD36NKS5NWDVSCRMFA5CNFSM5ZWWHS3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOIXU6K6Y.gif Message ID: @. @.> >

breiler commented 2 years ago

The log did not give any clues. Try deleting or renaming your settings directory: C:\Users\Critc\.ugsplatform\2.0.11\

LeeRossCritchlow commented 2 years ago

Joacim,

Renamed Dev folder, still not English.

Do you recognize the language? Could it be a Unicode mismatch?

I have checked Windows Display language, everything is English.

Could you send me snapshots of English Menus, Pull-downs, and ToolTips so I can begin to use the program (or possibly source code that I can debug in Visual Studio)?

Thanks,

lee

From: Joacim Breiler @.> Sent: Sunday, July 3, 2022 12:24 AM To: winder/Universal-G-Code-Sender @.> Cc: LeeRossCritchlow @.>; State change @.> Subject: Re: [winder/Universal-G-Code-Sender] Main menu and Drop-down menus are not in English (Issue #1910)

The log did not give any clues. Try deleting or renaming your settings directory: C:\Users\Critc.ugsplatform\2.0.11\

— Reply to this email directly, view it on GitHub https://github.com/winder/Universal-G-Code-Sender/issues/1910#issuecomment-1173014454 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ADUYRHLVWXXXGMP4ESDUIT3VSEPWJANCNFSM5ZWWHS3A . You are receiving this because you modified the open/close state.Message ID: @.***>

breiler commented 2 years ago

Someone else have had the same problem: https://stackoverflow.com/questions/66714335/apache-netbeans-12-0-or-12-3-window-tabs-label-text-language-issue

Open the file ugsplatform/etc/ugsplatform.conf and try to add -J-Dfile.encoding=UTF-8 to the default_options.

LeeRossCritchlow commented 2 years ago

Joacim,

I cannot find ‘jdkhome="jdk/jdk-13.0.1+9-jre"’ as specified in ugsplatform.conf.

I installed Java, no change to menu.

I download the latest JDK (18).

I cannot seem to find the correct syntax for jdkhome. I get the attached pop-up. The program loads modules then dies.

Please advise.

From: Joacim Breiler @.> Sent: Monday, July 4, 2022 12:43 AM To: winder/Universal-G-Code-Sender @.> Cc: LeeRossCritchlow @.>; State change @.> Subject: Re: [winder/Universal-G-Code-Sender] Main menu and Drop-down menus are not in English (Issue #1910)

Someone else have had the same problem: https://stackoverflow.com/questions/66714335/apache-netbeans-12-0-or-12-3-window-tabs-label-text-language-issue

Open the file ugsplatform/etc/ugsplatform.conf and try to add -J-Dfile.encoding=UTF-8 to the default_options.

— Reply to this email directly, view it on GitHub https://github.com/winder/Universal-G-Code-Sender/issues/1910#issuecomment-1173374346 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ADUYRHK5MA6QNCFC5P5RDHTVSJ2YBANCNFSM5ZWWHS3A . You are receiving this because you modified the open/close state. https://github.com/notifications/beacon/ADUYRHNLKTGDIET6KIYS5U3VSJ2YBA5CNFSM5ZWWHS3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOIXYELCQ.gif Message ID: @. @.> >

breiler commented 2 years ago

You still can't attach files (or images) through email, in that case you need to answer on github.

I never wrote that you should update JDK, I asked you to update the line with default_options with the parameter that says that files should be opened using UTF-8 (-J-Dfile.encoding=UTF-8), like the following:

# ${HOME} will be replaced by user home directory according to platform
default_userdir="${HOME}/.${APPNAME}/2.0-SNAPSHOT/dev"
default_mac_userdir="${HOME}/Library/Application Support/${APPNAME}/2.0-SNAPSHOT/dev"

# options used by the launcher by default, can be overridden by explicit
# command line switches
default_options="-J-Dfile.encoding=UTF-8 --branding ugsplatform -J-Xms64m -J-Xverify:none -J-Dsun.java2d.noddraw=true -J-Dsun.awt.noerasebackground=true -J-Dnetbeans.indexing.noFileRefresh=true -J-Dorg.openide.text.big.file.size=20"
# for development purposes you may wish to append: -J-Dnetbeans.logger.console=true -J-ea

# default location of JDK/JRE, can be overridden by using --jdkhome <dir> switch
jdkhome="jdk/jdk-13.0.1+9-jre"

# clusters' paths separated by path.separator (semicolon on Windows, colon on Unices)
#extra_clusters=

If you tried that and it still doesn't work you could try and update to a later JDK. However UGS only works properly across multiple platforms using the bundled Java 13.0.1+9 due to limitations in some of the libraries we are using. The latest Java 18 release will probably not work.

You could try JRE 13.0.2+8: https://adoptopenjdk.net/archive.html?variant=openjdk13&jvmVariant=hotspot Unzip it to ugsplatform/jdk/ and point to it by setting the jdkhome-property in the configuration file.

LeeRossCritchlow commented 2 years ago

I apologize for getting desperate. Attached is the current conf file. jdkhome="jdk/jdk-13.0.1+8-jre" did not solve the current the issue. ugsplatform.zip

breiler commented 2 years ago

Well, in your desperation you are leaving out details which makes it hard to help you.

I can see that your config now includes the -J-Dfile.encoding=UTF-8which looks right. But your jdkhome is set to jdk/jdk-13.0.1+8-jre. We are shipping UGS with jdkhome="jdk/jdk-13.0.1+9-jre". Did you download another JRE?

LeeRossCritchlow commented 2 years ago

yes

From: Joacim Breiler @.> Sent: Monday, July 4, 2022 7:16 AM To: winder/Universal-G-Code-Sender @.> Cc: LeeRossCritchlow @.>; State change @.> Subject: Re: [winder/Universal-G-Code-Sender] Main menu and Drop-down menus are not in English (Issue #1910)

Well, in your desperation you are leaving out details which makes it hard to help you.

I can see that your config now includes the -J-Dfile.encoding=UTF-8which looks right. But your jdkhome is set to jdk/jdk-13.0.1+8-jre. We are shipping UGS with jdkhome="jdk/jdk-13.0.1+9-jre". Did you download another JRE?

— Reply to this email directly, view it on GitHub https://github.com/winder/Universal-G-Code-Sender/issues/1910#issuecomment-1173751031 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ADUYRHJW3WXK5CBPEWXZ2OLVSLIZVANCNFSM5ZWWHS3A . You are receiving this because you modified the open/close state. https://github.com/notifications/beacon/ADUYRHMEABU2CAKUQPWPH6DVSLIZVA5CNFSM5ZWWHS3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOIX3AJ5Y.gif Message ID: @. @.> >

breiler commented 2 years ago

...Which one and where did you unzip it? Without details, you are wasting my time...

The one I suggested was "jdk-13.0.2+8-jre", you have typed "jdk-13.0.1+8-jre" in your config. Did you try with just changing "-J-Dfile.encoding=UTF-8" before experimenting with JDK:s?

LeeRossCritchlow commented 2 years ago

Hey man, I did it per your instructions 7 hours ago.

LeeRossCritchlow commented 2 years ago

My bad, I changed the 9 to an 8 did not catch that the 1 changed to a 2. Made the change, no change in the issue.

breiler commented 2 years ago

Alright, too bad. =(

Unfortunately I can't reproduce the error and this is the first time I have heard of this problem. I don't think that there is much I can do about it.

There are plenty of other alternatives out there for you to try out: https://github.com/winder/Universal-G-Code-Sender/wiki/Software-comparison

breiler commented 1 year ago

Can't reproduce the error