Function keys translation

Use this Forum to post your “How to …” questions about your use of aXes. This is not a technical support forum. Both the aXes Support Team at LANSA and other aXes customers may answer your questions. LANSA cannot guarantee the accuracy of any information posted by customers.

Moderator: jeanmichel

Post Reply
Franck.A
Posts: 19
Joined: 06 Nov 2020, 19:33

Function keys translation

Post by Franck.A »

Hello everybody (from France),

We’re currently converting our Transport Management System into multi-lingual by using the Axes multi-lingual fonctionalities (I already posted a request on this topic a few months ago).

It’s almost completed but we’re encountering an issue with the function keys translation, which actually doesn’t work at all.
We tried modifying the AutoGui rules regarding the function keys management with the CTEXT function, we also tried modifying the css files and some application jasons files but with no result.
Image1.png
Image1.png (37.99 KiB) Viewed 9114 times
We asked the Lansa help desk and they identified a dysfunction that will be fixed with the next release of Axes, but they coudn’t give us any release date .

So my question is :
Has any one encountered this issue and how did you fix it ?

Thanks in advance for any answer or advice.

PS: I add a screenshot of an Axes project without Autogui (thus without function buttons) which shows translated function keys. To be sure that our language files are ok.
Tranl_ok_fct_keys.png
Tranl_ok_fct_keys.png (184.94 KiB) Viewed 9091 times
We also tried to disable th auto-recognition of function keys of the AutoGui rule :
DisabFctRecgns.png
DisabFctRecgns.png (59.25 KiB) Viewed 9070 times
We got the function keys translated but placed at the bottom of the screen:
FctKeys transl_bottom.png
FctKeys transl_bottom.png (63.84 KiB) Viewed 9070 times
Fairdinkum
Posts: 128
Joined: 24 Jul 2017, 17:02

Re: Function keys translation

Post by Fairdinkum »

Hi Franck,

Are you looking for something like the following?

Result: FKey panel extension
Image 1522.png
Image 1522.png (83.46 KiB) Viewed 9044 times
Texts_Cust_XX.txt
Image 1523.png
Image 1523.png (16.6 KiB) Viewed 9044 times

Regards,
Hide
Franck.A
Posts: 19
Joined: 06 Nov 2020, 19:33

Re: Function keys translation

Post by Franck.A »

Hi Fairdinkum,

This is precisely what we look to achieve , here is a picture of our dictionnary:
exemple 1.JPG
exemple 1.JPG (20.19 KiB) Viewed 9023 times
Yet we cannot mannage to have our Fx Buttons translated, we tried many different autogui tweaks without success.

Remenbering what you teached me on a previous topic (translating subfile options) I tried to modify the extension axFkeyPanel, in the file axextensions.min.js, I am still on it.

Picture below shows some "TEXT.CUST()" I tried to insert in the function:
The attachment exemple 2.JPG is no longer available
Attachments
exemple 2.JPG
exemple 2.JPG (68.76 KiB) Viewed 9023 times
Fairdinkum
Posts: 128
Joined: 24 Jul 2017, 17:02

Re: Function keys translation

Post by Fairdinkum »

Hi Franck,

I've modified axmdextensions.min.js like the following for trial.
Image 1554.png
Image 1554.png (34.67 KiB) Viewed 9018 times
(Before)

Code: Select all

caption: _,
(After)

Code: Select all

caption: TEXT.cust(_.trim()),
It's in DEFINE_EXTENSION_axFkeyPanel().



Important:
- This js file will be overwritten without any notifications when applying a patch/fixpack or upgrading its version.

HTH!

Regards,
Hide
Franck.A
Posts: 19
Joined: 06 Nov 2020, 19:33

Re: Function keys translation

Post by Franck.A »

Hi Fairdinkum,

It took us a while to test your solution but we could finally do it and it works great !

Thanks a lot for your help.

If you intend to spend a few days in Paris, let us know, we'll bring you to a nice restaurant !!
Fairdinkum
Posts: 128
Joined: 24 Jul 2017, 17:02

Re: Function keys translation

Post by Fairdinkum »

That's great ;)

Regards,
Hide
Post Reply