Solved

Universal exec tsf_message does not use translation

  • 13 October 2022
  • 6 replies
  • 140 views

Userlevel 4
Badge +5

We have an application running Dutch and English as languages but it seems that universal uses the English translations when we show a message via the tsf_send_message functionality.

Our code is as follows:

 exec tsf_send_message 'message_key', null, 0

Did we miss something? 

 

icon

Best answer by Vincent Doppenberg 19 October 2022, 11:41

View original

This topic has been closed for comments

6 replies

Userlevel 6
Badge +4

Hello Kasper,

Can you update your Indicium to version 2022.2.14.1? It is possible that the hotfix which we have released yesterday solves this problem. If not, then we’ll have to look into the problem in some more detail.

Kind regards,

Vincent

Userlevel 4
Badge +5

Thanks for your reply Vincent, I've just upgraded to the latest version of Indicium (2022.2.14.1) and Universal (2022.2.14.0) and the issue still occurs.

 

 

Userlevel 6
Badge +4

Hello Kasper,

Can you provide me with the following information:

1. The language of the logged in user, as it is configured in IAM.

 

2. The languages that are available for the application in question (run the query below on IAM with the correct application ID)

select gui_appl_id, appl_lang_id
from i_core_appl_lang
where gui_appl_id = ?

3. The fallback language for that same application:

select gui_appl_id, fallback_appl_lang_id
from i_core_gui_appl
where gui_appl_id = ?

 

 

Userlevel 4
Badge +5

Hi Vincent,

Thanks! The issue indeed was that the IAM setting for this user was set to ENG instead of Dutch. What I don't understand yet is why does that affect the messages but not the rest of the application? I load the application model from the SF (on our dev server) and I expected that all translations would come from the same source. 

 

 

  1. The user language in IAM and SF for this user is set to NL

     
    SF
    In IAM the language for this user was set to ENG.
    IAM

     
  2. App languagues are:
     

    IAM
SF
  1. fallback is:
    IAM
    SF

     

 

Userlevel 6
Badge +4

Hello Kasper,

Thank you for the additional information.

I expected that all translations would come from the same source.

That makes sense. Strictly speaking, Indicium is in the wrong here, it should look at a user’s language in the SF when the application model is loaded from the SF. However, this has not been implemented, Indicium only looks at the user settings in IAM. 

We have made note of this issue and we will look into fixing it in a future version. I don’t expect that we will work on it very soon because it only affects development environments, there’s an easy way to work around the problem and realistically, the two languages should have been in sync anyway.

I hope this answers your questions.

Userlevel 4
Badge +5

Yes, thanks! :D