Skip to main content
Answer

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

  • April 2, 2025
  • 1 reply
  • 142 views

asanka1055
Hero (Partner)
Forum|alt.badge.img+9

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.

1 reply

asanka1055
Hero (Partner)
Forum|alt.badge.img+9
  • Author
  • Hero (Partner)
  • 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.