Skip to main content

Is it possible to use String parameters for (tab)page/menu names to make them language dependent?

The language in our webui can now be switched with a checkbox (there are only two options).

When we switch, we would like the following to change (dashboard →  panel) as well:

We have the same question for the filter boxes (Select Location → selecione o local):

And for the text of a scalar (Show this checkbox → Do not show this checkbox | sorry for the bad example):

 

@Brn, how are you?

 

I just checked with the WebUI dev team and currently this is not possible. However, this is a great idea for future development. I'll move this to Ideation. Can you list a few more use cases or even descriptions that you think are necessary to be indexed in the language?
 


Hi @gabiservidone 

I am good, thank you. I hope you are too.

I check with my colleagues, and also with the customer and we could not think of more use cases. We will let you know if something pops up.

 


Just curious @gabiservidone , what is the status of this idea?


NewDiscussion ongoing

Hello @Brn,

Sorry for my late response. Let me separate in a few topics:

  1. The Page Manager naming:
     

    Nothing on the developer side, you will be able to rename/translate. However, you are able to rename them if you use Workflow, by changing the title name depending of the selected language. You also can create a .properties file to change the page name if you are using the regular menu. This page used to appear named as Story, and now with the .properties file it is Something Else. Read more about this here: https://documentation.aimms.com/webui/multi-language.html

  2. This second point, you can achieve by the webui::ElementText per identifer, see more here:

     

  3. The third, I am not sure I understand, but if you want to create translations that are model depentend, you can always use this to translate your identifier: https://documentation.aimms.com/webui/table-widget.html#webui-identifierelementtext

 

Hope this helps!


Discussion ongoingImplemented

Didn't find what you were looking for? Try searching on our documentation pages:

AIMMS Developer & PRO | AIMMS How-To | AIMMS SC Navigator