I overrode a related list label using translation workbench. How do I get the translated related list label in apex?
I tried with Schema.getChildRelationships(), but no luck.
Thanks in advance.
I overrode a related list label using translation workbench. How do I get the translated related list label in apex?
I tried with Schema.getChildRelationships(), but no luck.
Thanks in advance.
Best Answer
I haven't tried it, but how about something like:
Feel free to ignore if this lines up with what you have already tried.
From the docs for DescribeFieldResult.getLabel():
I found two ideas that are roughly related to labels in general (not directly to translations):