Skip to main content
peiranl0002
New Participant
January 20, 2021
Solved

Translation Bundle just not show the content?

  • January 20, 2021
  • 2 replies
  • 0 views

a!richTextDisplayField(
                  value: a!richTextItem(
                    text: {
                      a!richTextIcon(icon: "camera"),
                      " " & ri!translationBundle["uploadpictures"]
                    },
                    link: a!startProcessLink(
                      processModel: cons!LDA_PM_UPLOAD_PICUTURE_MYASSIGNMENT_SCREEN,
                      processParameters: {
                        buttonAction: null,
                        dispatcherAction: null,
                        driverUsername: null,
                        notifyDispatcher: null,
                        tmsLoadId: null,
                        tripAssignmentDetailsId: index(
                          ri!tripAssignmentDetails,
                          "tripAssignmentDetailsId",
                          {}
                        ),
                        uploadPictureMyassignment: null
                      }
                    )
                  )
                )

Hi can someone tell me the reason why ri!translationBundle["uploadpictures"] not show any string on interface?

As I check the ri!translationBundle, the uploadpictures are setting correctly.

Thanks

Best answer by mohamedk0004

it should be any type and when you pass the properties file you should use this function loadbundle(cons!yourDocumentFile)

2 replies

mohamedk0004
Inspiring
January 21, 2021

Hi Peiran 

whats the type of ri!translationBundle is ? 

mohamedk0004
Inspiring
January 21, 2021

it should be any type and when you pass the properties file you should use this function loadbundle(cons!yourDocumentFile)