Translation: subfile options (Subfile Enhancer)
Posted: 21 May 2021, 17:30
This topic is about 2 nice functionnalities in aXes that we can't mannage to make them work together:
- function 1 : translation
we use CTEXT() function to run translation across our system
Our Dictionnary file(Texts_Cust_en.txt) is done so that we translate from French (native langage) to English(target langage)
This function works well on most of our screens as soons as we respect the definition rules.
- function 2 : Subfile enhancer + Subfile Options Context Menus
we use this native eXtensions to ehance our subfiles and to be able to have subfile options in a list when right-click on a selection
- Definition of our issue

As the picture shows: all texts are translated to english, but the subfile option is not translated (in both positions; top of the subfile and in the mouse-click list)
We have tried to add many tranlations in the Dictionnary, that I list here:
"5=Visualiser" , "5=Visualize"
"Visualiser" , "Visualize"
But none of them do the trick.
If we try to run the function: CTEXT("5=Visualiser") in a script, then we can see the translation "5=Visualize", so we think that it is not a problem with CTEXT(), but with the Subfiles eXtentions.
Our problem is that we cannot find the source code of this eXtentions (native eXtensions), so we cannot see if the CTEXT function is used or not.
For the moment we have ask for assistance from the helpdesk about this native eXtensions
Another solution would be to code a script that would run after the eXtensions (autogui?) and translate the options, but we are beginners and I woud not say that we can do such a trick for the moment
If anyone has experienced this issue and could help ups, would be a great and needed help.
Thank you for reading,
Best regards
Franck
- function 1 : translation
we use CTEXT() function to run translation across our system
Our Dictionnary file(Texts_Cust_en.txt) is done so that we translate from French (native langage) to English(target langage)
This function works well on most of our screens as soons as we respect the definition rules.
- function 2 : Subfile enhancer + Subfile Options Context Menus
we use this native eXtensions to ehance our subfiles and to be able to have subfile options in a list when right-click on a selection
- Definition of our issue

As the picture shows: all texts are translated to english, but the subfile option is not translated (in both positions; top of the subfile and in the mouse-click list)
We have tried to add many tranlations in the Dictionnary, that I list here:
"5=Visualiser" , "5=Visualize"
"Visualiser" , "Visualize"
But none of them do the trick.
If we try to run the function: CTEXT("5=Visualiser") in a script, then we can see the translation "5=Visualize", so we think that it is not a problem with CTEXT(), but with the Subfiles eXtentions.
Our problem is that we cannot find the source code of this eXtentions (native eXtensions), so we cannot see if the CTEXT function is used or not.
For the moment we have ask for assistance from the helpdesk about this native eXtensions
Another solution would be to code a script that would run after the eXtensions (autogui?) and translate the options, but we are beginners and I woud not say that we can do such a trick for the moment
If anyone has experienced this issue and could help ups, would be a great and needed help.
Thank you for reading,
Best regards
Franck

