Skip to main content
Solved

How to add translations for IFS Report Layout texts which contains commas(,)?

  • April 2, 2025
  • 1 reply
  • 22 views

asanka1055
Sidekick (Partner)
Forum|alt.badge.img+5

Normally using StrTranslate function we can translate given text, but when we have a comma in the text it will not translate the string beyond that poiint. It will skip the remaining part of the text.

 

E.g:-

‘Please translate me, I have a comma’

 

vldtstr:strTranslate(../../../tns:PROCESSING_INFO/tns:FORMATTING_OPTIONS/tns:LANG_CODE,'en,de','Please translate me, I have a comma,Bitte übersetzen Sie mich, ich habe ein Komma','Please translate me, I have a comma')

 

Result: 

en: Please translate me (missing ‘, I have a comma’)

de: Bitte übersetzen Sie mich (missing ‘, ich habe ein Komma’)

 

Best answer by asanka1055

If we have the access to the .rdf .report files we can do the change there, but if not we can directly change the text translation for both languages and it will help to overcome the problem.

In this scenario I didn’t had access to the report files, so I did the change in translations and it worked. Please suggest me if there is any better solution for this.

View original
Did this topic help you find an answer to your question?

1 reply

asanka1055
Sidekick (Partner)
Forum|alt.badge.img+5
  • Author
  • Sidekick (Partner)
  • 22 replies
  • Answer
  • April 25, 2025

If we have the access to the .rdf .report files we can do the change there, but if not we can directly change the text translation for both languages and it will help to overcome the problem.

In this scenario I didn’t had access to the report files, so I did the change in translations and it worked. Please suggest me if there is any better solution for this.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings