Notifications
Clear all

[Solved] How can I find out what key the user interface is using to look for a label?

2 Posts
1 Users
4 Reactions
11.4 K Views
2
Topic starter

How can I find out what key the user interface is using to look for a label?

Topic Tags
2 Answers
2
Topic starter

Setting this value via your Chrome developer console goes a long way:

 

window.top.LabelDebugEnabled = true

 

Once set, the console will dump logs as the UI looks for labels:

image
0
Topic starter

There also may be labels shown in the UI which were translated on the server.  For these, you should enable DEBUG for this class (via JMX):

com.onenetwork.platform.tools.i18n.impl.ResourceMessageBundle

 

As of CL 1071730 on 3.7, it produces logs like this:

05-02 15:20:36,464 DEBUG (0.0.0-80-exec-1) <10014,10108> [ ResourceMessageBundle] i18n: meta.enum.Undefined.State.Intransit

 

If you combine both the Chrome console output with these server side logs, you should get a sense of all labels.