+ Start a Discussion
MattGoncalvesMattGoncalves 

How to create a custom field that ignores the translations

Hi there,

I have a custom field that follows the user language and this is working fine. 
For some reason, in a particular location I need to show this field value in English only, ignoring the system translation. 

How to achieve that? Is there a way to force a language in a formula field result? 

Thank you!
Martijn SchwarzerMartijn Schwarzer
Hi Toadgeek,

Unfortunately, there's no way to enforce a specific language in formula fields (to my knowlegde).

The only way to enforce a certain language is to use a Visualforce page. In the <apex:page> Tag you can define the attribute language. The entire page will then be viewed in that language.

More info on the <apex:page> tag can be found here:

https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_compref_page.htm


Hope this helps!

Best regards,
Martijn Schwärzer

Ps. If my answer helped you, please mark it as best answer. It will help others find best answer as well.