Skip to main content
17-Peridot
May 24, 2023 12:01 PM UTC
Solved

Localization Token Missing for Session Timeout Audit Message

As per the original post. 

 

If we look into a .zip export of the audit logs I can see two variables:

 

{
	"message": "User session has expired.",
	"user": "RdmcInitUser"
}

 

I therefore created token 'com.thingworx.things.security.SecurityMonitorThing.SessionExpired.Audit' with value '__message__ For user __user__'.

Not sure if the missing token was fixed in a later TWX release (I am also on 9.3.4 where it is missing).

nmutterAnswer
17-Peridot
Jun 1, 2023 2:28 PM UTC

PTC article regarding issue: https://www.ptc.com/en/support/article/CS382527 The article will be updated when it was fixed. Article now also includes a workaround.

3 replies

3-Newcomer
May 30, 2023 6:35 AM UTC

Localization is the process of adapting software or applications to specific languages, regions, or cultural contexts. It involves translating text strings, such as error messages or user interface elements, into different languages or regional variations. In this case, the "Localization Token Missing" part suggests that there is a missing or incomplete token related to localization. Tokens are placeholders in the code that are replaced with the actual translated text during runtime based on the selected language or region.  MyCCPay Login

Translate
nmutter17-PeridotAuthor
17-Peridot
May 30, 2023 5:34 PM UTC

Same issue in 9.4.0 (see in background the AuditLog with the "SessionExpired.Audit not found" error instead of the localized message:

nmutter_0-1685467966237.png

I'll open a PTC case for it to get fixed.

Translate
nmutter17-PeridotAuthorAnswer
17-Peridot
Jun 1, 2023 2:28 PM UTC

PTC article regarding issue: https://www.ptc.com/en/support/article/CS382527 The article will be updated when it was fixed. Article now also includes a workaround.

Translate