Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - [SOLVED]Translations not complete
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

[SOLVED]Translations not complete

 Post Reply Post Reply
Author
Message
rdhd View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 August 2007
Location: United States
Status: Offline
Points: 680
Post Options Post Options   Thanks (0) Thanks(0)   Quote rdhd Quote  Post ReplyReply Direct Link To This Post Topic: [SOLVED]Translations not complete
    Posted: 15 April 2020 at 10:04am
We have 19.0 and have found that some languages are not fully translated. I pulled 19.1 today and I see the same issue. See, for example, ToolkitPro.ResourcEs.(xml/dll). Note file new and a lot of other common commands have English strings in them. Search the xml file for 57600 to see "Create a new document\nNew". Some of the languages are fully translated while others are not. We could use a fix for this asap.

Here is a sample from the Spanish xml file:

    <string id="35229" value="Esloveno"/>
    <string id="35230" value="Español (España - Alfabetización internacional)"/>
    <string id="35231" value="Sueco"/>
    <string id="35232" value="Tailandés"/>
    <string id="35234" value="Ucraniano"/>
    <string id="57347" value="%1 in %2"/>
    <string id="57349" value="%1 - %2"/>
    <string id="57600" value="Create a new document\nNew"/>
    <string id="57601" value="Open an existing document\nOpen"/>
    <string id="57602" value="Close the active document\nClose"/>
    <string id="57603" value="Save the active document\nSave"/>
    <string id="57604" value="Save the active document with a new name\nSave As"/>
    <string id="57605" value="Change the printing options\nPage Setup"/>
    <string id="57606" value="Change the printer and printing options\nPrint Setup"/>
    <string id="57607" value="Print the active document\nPrint"/>
    <string id="57609" value="Display full pages\nPrint Preview"/>
    <string id="57612" value="Send the active document through e-mail\nSend Mail"/>
    <string id="57616" value="Open this document"/>
    <string id="57617" value="Open this document"/>
    <string id="57618" value="Open this document"/>


Back to Top
rdhd View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 August 2007
Location: United States
Status: Offline
Points: 680
Post Options Post Options   Thanks (0) Thanks(0)   Quote rdhd Quote  Post ReplyReply Direct Link To This Post Posted: 15 April 2020 at 3:01pm
I have compared CJ 18 to 19 and found that all the standard MFC command IDs have been added to the translation files. That is, they are not in 18. Hence, why this issue is now showing up with the 19 as, e.g., the Spanish file has nothing but English for these entries.

This makes me feel uncomfortable as the CJ translations don't always match up with our translations. Unfortunately we found long ago we had to deliver the CJ translations as CJ UI is part of a CJ based application so we have to use these files as we don't try to keep up with all string IDs CJ may use at some time for its own UI.

Tough issue though. We set the AFX res handle but CJ only uses it if a string isn't first found by its resource manager's res handle (or xml file). We don't use command IDs in the "9000" range (CJ IDs mostly use those) but one cannot always prevent some string ID not of a command to have such a value in our res file we set in the AFX module data.
Back to Top
agontarenko View Drop Down
Admin Group
Admin Group


Joined: 25 March 2016
Status: Offline
Points: 146
Post Options Post Options   Thanks (0) Thanks(0)   Quote agontarenko Quote  Post ReplyReply Direct Link To This Post Posted: 30 April 2020 at 4:45am
Hello,

I have fixed this problem. Fix will be in 19.2 release.

Regards,
Artem Gontarenko
Back to Top
rdhd View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 August 2007
Location: United States
Status: Offline
Points: 680
Post Options Post Options   Thanks (0) Thanks(0)   Quote rdhd Quote  Post ReplyReply Direct Link To This Post Posted: 30 April 2020 at 8:39am
Thanks Artem.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.078 seconds.