home recent topics recent posts search faq  

Schaudin.com Forum



register | lost password | |
Messages in this topic - RSS

Home » Feature Requests and Suggestions » Shortcut keys (menu items)

Submit suggestions for expanding/improving RC-WinTrans products.
25.07.2011 17:23:06

WWfromHA
WWfromHA
Posts: 3
I know that there are technical problems concerning the translation of shortcut keys, for example "Ctrl+C" -> "Strg+C". But in RC-WinTrans 7 it was possible to do so. Is there any chance to solve the problems to get this feature in RC-WinTrans 9 too?
Best regards
0 permalink
25.07.2011 22:12:32

Support
Support
Administrator
Posts: 216
Accelerator Key
For a selected accelerator key use the "Resource Type Editor" toolbar button to open the "Shortcut Properties" dialog box.
-> See: Accelerator key screenshot...

Menu Item
In the Menu view right-click with the mouse to open the local menu. Select the "Shortcut" command to open the "Shortcut Properties" dialog box.
-> See: Menu view screenshot...
.
edited by Support on 25.07.2011
0 permalink
26.07.2011 09:58:25

WWfromHA
WWfromHA
Posts: 3
Thank You for the answer. But it doesn't work in my case. I forgot to tell you that I try to translate Shortcut names of dotNET-assemblies coded in C#. Here I don't get the Shortcut Properties dialog box shown in your screenshots. Instead of this I get the "Shortcut resx" dialog containing a list with entries from "Ctrl1" to "CtrlZ". Combinations with "Shift" + something else are missing and "Ctrl" + arrow too. And: What is the result of selecting one of this entries? The german Column at the text table contains no Translation but something like "CtrlC". Trying to make a satellite dll of this an error occures:
Error (4012): Caught ResGen.exe output: Failed. 

'ArgumentException' Exception caught: 
ResX file Requested value 'CtrlC' was not found. Line 188, position 5. cannot be parsed. 
Running Framework Version: 4.0.30319.235 
Command line: "C:\Program Files\RC-WinTrans 9 Global\Program\RWTResGenFX40.exe" "C:\Documents and Settings\user\Local Settings\Temp\RC-WinTrans\RWTTmpFile_440044255.resx" "C:\Documents and Settings\user\Local Settings\Temp\HEADacoustics.Desktop.NamingFormats.UI.NamingFormatManagerDialog.de.resources" "C:\Documents and Settings\user\Local Settings\Temp\RC-WinTrans\RWTTmpFile_1619661092.xml" 

What I want is to translate the display text of a menu item's shortcut, like "Strg+C" or "Umschalt+P". The text table let me enter the translation but the making of the satellite dll fails with the same error message as above. That is what I ment by the technical problems.
Unfortunatly I have no way to post a screenshot. The public server www.example.com as described in your FAQs is not accessible.
0 permalink
28.07.2011 00:16:10

Support
Support
Administrator
Posts: 216
I see. The shortcuts in the "Shortcut Properties" dialog box are not up to date- they are for .Net 1.1! We will update this with the shortcuts used with .Net 2.0 through 4.0.

Workaround: Open the Menu view, select the shortcut entry in the "Captions" tab view, then enter the target value "Strg+C" manually in the Translation Edit bar.
-> Image
.
edited by Support on 09.08.2011
0 permalink
28.07.2011 11:01:22

WWfromHA
WWfromHA
Posts: 3
I am sorry, but the Workaround does NOT work. I tried it a hundred times before. And I already tried to explain the actual problem. Once again: I don't work with RESX files but with compiled C#/dotNET Dlls (assemblies). The Resources are extracted by RC-WinTrans 9 and ready to translate at the text table. Shortcut keys can be translated at the text table or the way you described, BUT the attempt to create a satellite dll from this ends up in the following ERROR:
Error (4012): Caught ResGen.exe output: Failed.
'ArgumentException' Exception caught:
ResX file Requested value 'Strg' was not found. Line 134, position 5. cannot be parsed.
Running Framework Version: 4.0.30319.235
Command line: "C:\Program Files\RC-WinTrans 9 Global\Program\RWTResGenFX40.exe" "C:\Documents and Settings\user\Local Settings\Temp\RC-WinTrans\RWTTmpFile_456913312.resx" "C:\Documents and Settings\user\Local Settings\Temp\HEADacoustics.Desktop.NamingFormats.UI.NamingFormatManagerDialog.de.resources" "C:\Documents and Settings\user\Local Settings\Temp\RC-WinTrans\RWTTmpFile_1861358484.xml"

Possible reason: invalid property translation value "Strg"
Possible solution: delete the translation text "Strg"

Error (92): The target file "E:\TFS\ArtemiSuite\Dev\Sources\RCWinTrans\..\..\Bin\de\HEADacoustics.Desktop.NamingFormats.resources.dll" could not be written.
Error (404): The converter "NETFilesConverter.ConvRESX.XliffToFormatFile" returned exit code 4012.

I already talked with Mr. Schaudin about this problem last December. And what I just want to know is, if there is a solution in sight.
Isn't it interesting to other users too?
0 permalink
28.07.2011 23:04:55

Support
Support
Administrator
Posts: 216
We could not get it working with 'Strg' either.

I tried to create a sample with VS2010 using 'Ctrl' and/or 'Strg' but there is an error message:
"error RG0000: Requested value 'Strg' was not found."

There may be a problem at least since VS2008 and also with VS2010. Or maybe it is the .Net Framework?! Here is what I found:
https://connect.microsoft.com/VisualStudio/feedback/details/361798/switching-visual-studio-2008-ide-language-from-english-to-german-produces-compiler-errors-on-resx-file
.
edited by Support on 09.08.2011
0 permalink

Home » Feature Requests and Suggestions » Shortcut keys (menu items)





Powered by AspNetForum 6.9.6.0 © 2006-2010 Jitbit Software