Support forum of the software localization tool Sisulizer


.NET, Delphi, ... - Sisulizer Localization Tool Support Home

Get in contact with the makers of Sisulizer.
Our forum is open for all questions around Sisulizer from customers and prospects.
Don't hesitate to register and ask. The Sisulizer team will answer ASAP.

Search     Help Home Sisulizer Website Download
Search by username
Not logged in - Login | Register 

 Moderated by: Sisusupport, Renate.Reinartz, Markus.Kreisel, Ilkka.Salmenius
New Topic Reply Printer Friendly
Sisulizer does not support Translation of Ribbons - Bugs and Quirks in Sisulizer - Technical Support (You need to be registered at the forum to write) - .NET, Delphi, ... - Sisulizer Localization Tool Support
AuthorPost
 Posted: Mon Aug 27th, 2018 09:52 am
PM Private Upload Quote Reply
HaraldKrause
Member
 

Joined: Mon Mar 21st, 2016
Location: Switzerland
Posts: 11
Status: 
Offline
If your Visual Studio C++ Program uses Ribbons it creates an RC file with following entries:

3 TEXTINCLUDE
BEGIN
"#define _AFX_NO_OLE_RESOURCESrn"
"#define _AFX_NO_TRACKER_RESOURCESrn"
"#define _AFX_NO_PROPERTY_RESOURCESrn"
"rn"
"#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_DEU)rn"
"LANGUAGE 7, 1rn"
"#include ""resXXXXXXX.rc2"" // Nicht mit Microsoft Visual C++ bearbeitete Ressourcenrn"
"#include ""l.DEUafxres.rc"" // Standardkomponentenrn"
"#include ""l.DEUafxprint.rc"" // Ressourcen für Drucken/Seitenansichtrn"
"#if !defined(_AFXDLL)rn"
"#include ""l.DEUafxribbon.rc"" // Ressourcen für MFC-Menüband und -Steuerleistern"
"#endifrn"
"#endifrn"
""
END

It should for example replace the l.DEU to l.ENG for english etc when translating the .rc file. It does not do that.

Further the user defined Ribbons are in a external XML file which are included in the .rc file as following:

/////////////////////////////////////////////////////////////////////////////
//
// Ribbon
//

IDR_RIBBON RT_RIBBON_XML "res\ribbon.mfcribbon-ms"

Sisulizer does not loads this file and therfore one can not translate it with Sisulizer.

To reproduce that, just take Visual Studio 2013/2015/2017 and let the Project Wizzard generate a MFC Windows Program with Ribbons.

Last edited on Mon Aug 27th, 2018 09:54 am by HaraldKrause

Back To Top PM Private Upload Quote Reply

 Posted: Mon Aug 27th, 2018 11:17 am
PM Private Upload Quote Reply
Janusz Grzybek
Super Moderator


Joined: Fri Dec 1st, 2006
Location: Zabrze, Poland
Posts: 3835
Status: 
Offline
Sisulizer is localization tool not developing tool, so it doesn't change internal code structure. Because RC doesn't contain standard localizable items, so Sisulizer ignore this file. Anyway, I'll ask our developer about potential workaround/solution for this issue.
Best regards,Janusz



____________________
http://www.sisulizer.com - Three simple steps to localize
Back To Top PM Private Upload Quote Reply

 Posted: Tue Aug 28th, 2018 09:12 am
PM Private Upload Quote Reply
HaraldKrause
Member
 

Joined: Mon Mar 21st, 2016
Location: Switzerland
Posts: 11
Status: 
Offline
Hello, Those l.DEU\xxx.rc and others and the Method how Visual Studio creates and include ribbons as XML external files are by definition the "standard localizable items"....
I really would like to have a solution or at least a workaround.
The translation of the "res\ribbon.mfcribbon-ms" should not be a big problem because they are standard XML files so you just need to add another node, also the exchange of the standard templates should not be a big deal.

Back To Top PM Private Upload Quote Reply

 Posted: Mon Sep 10th, 2018 08:09 pm
PM Private Upload Quote Reply
HaraldKrause
Member
 

Joined: Mon Mar 21st, 2016
Location: Switzerland
Posts: 11
Status: 
Offline
Any news about this?

Back To Top PM Private Upload Quote Reply

 Posted: Mon Sep 10th, 2018 09:45 pm
PM Private Upload Quote Reply
Markus.Kreisel
Administrator


Joined: Sat Apr 8th, 2006
Location: Monschau, Germany
Posts: 3150
Status: 
Offline
Do you localize the binaries or the .rc source files?

If you do later you have to add the XML files to your project yourself (Project - Add Source. You might have to add the file extention to Sisulizer`s settings so it scans them as XML). It does not handle dependencies on source level.

We recommend to localize the binaries where Sisulizer finds the resources needed itself.

I guess that`s where the missunderstanding in this thread comes from.

Markus



____________________
http://www.sisulizer.com - Three simple steps to localize
Back To Top PM Private Upload Quote Reply

 Posted: Tue Sep 11th, 2018 12:02 pm
PM Private Upload Quote Reply
HaraldKrause
Member
 

Joined: Mon Mar 21st, 2016
Location: Switzerland
Posts: 11
Status: 
Offline
I like to translate the .rc files because we set up our build process that way. I tried to import the .mfcribbon- ms and it seems to be working, I just need to tweak the settings what to translate and what not.

Last edited on Tue Sep 11th, 2018 12:17 pm by HaraldKrause

Back To Top PM Private Upload Quote Reply

Current time is 04:35 am  
.NET, Delphi, ... - Sisulizer Localization Tool Support > Technical Support (You need to be registered at the forum to write) > Bugs and Quirks in Sisulizer > Sisulizer does not support Translation of Ribbons



WowUltra modified by Sisulizer Copyright © 2007-18 by Jim Hale - Based on WowBB Copyright © 2003-2006 Aycan Gulez

Impress - Privacy statement

Sisulizer software localization tool - Three simple steps to localize