Bug : some commands are unknown when changing language

Hi,

I’ve encountered some commands being unknown several times and finally understood it has to do with the switches I frequently make between French and English interface.

I start in French, change the language and restart Rhino. Untrim is unknown. However if I run _Untrim once, then it works.
I think there are other commands affected by this, but this is the one I encounter the most.

By the way, is there any way to run both French and English commands without having to type _ before ? I frequently end up typing 8CommandName and this is extremely frustrating.

Rhino 7 SR30 2023-5-10 (Rhino 7, 7.30.23130.11001, Git hash:master @ 92e6bbd255ee28a4168ed9e8d38a590062283b45)
License type: Commerciale, build 2023-05-10
License details: Cloud Zoo

Windows 11 (10.0.22621 SR0.0) or greater (Physical RAM: 16Gb)

Computer platform: LAPTOP - Unplugged [56% battery remaining] ~129 minutes left

Hybrid graphics configuration.
Primary display: Intel(R) Iris(R) Xe Graphics (Intel) Memory: 1GB, Driver date: 5-26-2022 (M-D-Y).
> Integrated graphics device with 4 adapter port(s)
- Windows Main Display is laptop’s integrated screen or built-in port
Primary OpenGL: NVIDIA GeForce RTX 3050 Ti Laptop GPU (NVidia) Memory: 4GB, Driver date: 1-28-2022 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 511.65
> Integrated accelerated graphics device (shares primary device ports)
- Video pass-through to primary display device

OpenGL Settings
Safe mode: Off
Use accelerated hardware modes: On
Redraw scene when viewports are exposed: On
Graphics level being used: OpenGL 4.6 (primary GPU’s maximum)

Anti-alias mode: 4x
Mip Map Filtering: Linear
Anisotropic Filtering Mode: High

Vendor Name: NVIDIA Corporation
Render version: 4.6
Shading Language: 4.60 NVIDIA
Driver Date: 1-28-2022
Driver Version: 30.0.15.1165
Maximum Texture size: 32768 x 32768
Z-Buffer depth: 24 bits
Maximum Viewport size: 32768 x 32768
Total Video Memory: 4 GB

Rhino plugins that do not ship with Rhino
C:\Users\maxim\AppData\Roaming\McNeel\Rhinoceros\packages\7.0\eleFront\4.2.2\ElefrontProperties.rhp “ElefrontProperties” 1.0.0.0

Rhino plugins that ship with Rhino
C:\Program Files\Rhino 7\Plug-ins\SolidTools.rhp “SolidTools”
C:\Program Files\Rhino 7\Plug-ins\Commands.rhp “Commands” 7.30.23130.11001
C:\Program Files\Rhino 7\Plug-ins\rdk.rhp “Renderer Development Kit”
C:\Program Files\Rhino 7\Plug-ins\RhinoRenderCycles.rhp “Rhino Render” 7.30.23130.11001
C:\Program Files\Rhino 7\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 7.30.23130.11001
C:\Program Files\Rhino 7\Plug-ins\rdk_ui.rhp “Renderer Development Kit UI”
C:\Users\maxim\AppData\Roaming\McNeel\Rhinoceros\packages\7.0\PanelingTools\2021.3.2.446\PanelingTools.rhp “PanelingTools”
C:\Program Files\Rhino 7\Plug-ins\NamedSnapshots.rhp “Snapshots”
C:\Program Files\Rhino 7\Plug-ins\RhinoCycles.rhp “RhinoCycles” 7.30.23130.11001
C:\Program Files\Rhino 7\Plug-ins\Toolbars\Toolbars.rhp “Toolbars” 7.30.23130.11001
C:\Program Files\Rhino 7\Plug-ins\3dxrhino.rhp “3Dconnexion 3D Mouse”
C:\Program Files\Rhino 7\Plug-ins\Displacement.rhp “Displacement”
C:\Users\maxim\AppData\Roaming\McNeel\Rhinoceros\packages\7.0\SectionTools\2021.4.30.511\SectionTools.rhp “SectionTools”

Yes, I have noticed this as well - for me it’s the autocomplete that is not updating immediately. Often this is going the other way from you.

I can start a session in French or German and the autocomplete seems to expect English commands - but if I accept the autocomplete suggestion, it doesn’t work. After I have done that once then the autocomplete changes over to the other language and works correctly.

In your video above, after you type Untrim the first time and it doesn’t work, I’m curious to know if you type the French command AnnulerLimite whether it’s recognized or not…

BTW, to have both French and English readily accessible without necessarily having to restart Rhino, I use Schemes. I have one desktop shortcut each for English, French and German. You can have both sessions French and English running simultaneously.

1 Like

Yes it does !

Also, I had trouble to replicate but I found that I need to actually use AnnulerLimite once in French mode to recreate the bug when switching to English.

Interesting, thanks. But this doesn’t seem to allow using both English and French commands in the same session (without _ of course). It does remove the need to go to the options so that’s already better that what I’m doing now.

Correct.
Rhino is written in English so a leading underscore before the English command name will always work, no matter what the current localization language currently happens to be.

I just had the case of someone launching Rhino 7 for the first time, in French.
He wasn’t able to access RemaillageQuad (_QuadRemesh).
After the command is run once from the menu or the command including with the underscore, it works.
I guess it’s the same auto-completion bug here. Anything that could be done for future releases ?

@Gijs
Thanks for today’s deep search in all my complaints !
Let me bring this one specifically to the top. This is probably the most exasperating issue I encounter several times on a daily basis.

I guess I could script something that adds aliases for ALL commands but there has to be a simpler solution. Maybe some hidden command to add at Rhino startup to make it refresh the autocomplete dictionary ?

I managed to reproduce this bug.
Switched to French, restarted Rhino
Switched back to English, restarted Rhino

Then I get:

Command: Untrim
Unknown command: Untrim
Command: AnnulerLimite
Unknown command: AnnulerLimite
Command: Untrim
Select edge to untrim ( KeepTrimObjects=No  AllSimilar=No )

RH-75862 Command mix-up when switching languages

1 Like