I have an object, Loan_Transaction__c, where some (but not yet all) Record Types have a translation in Translation Workbench. For example, the Record Type with DeveloperName "Payment" has label value "Payment" in English, and the translation "Pago" in Spanish in TW. The object also has a Formula Field, Record_Type__c, which returns RecordType.Name
.
In the screen shot above, the top field ("Tipo de registro") is the built-in Record Type field available on any page layout when an object has record types. The second field is the custom field Record_Type__c. I'm not concerned about the field label; the translator hasn't entered that yet. But the field value is a formula, RecordType.Name
, which should now appear in Spanish.
Same thing happens if I query the values:
select id, Record_Type__c, RecordType.name from Loan_Transaction__c where id = 'a5DW00000007P0MMAU'
That id is the same record with the "Payment" record type from the screenshot. When my language is set to Spanish, both fields return "Payment", not "Pago".