You need to sign in to do that
Don't have an account?
LameDee
dynamic translations
We have enabled the Country and State Pick lists for our org and added the required translations.
We also have got a scheduled Apex job that retrieves records and generate documnents for our clients (across the world). Unfortunately all the country and state values are retrieved in the user settings of the running user. This has got the undesired effect of rendering an address on the letter partially in the language it was captured (street and city fields) and partially in the language of the running user (Country and State).
So we end up with addresses that looks like
Question:
Is there a way to retrieved the country and state values for a record (Account/Contact/Lead/etc) based on the "native" langueg for the record? We do have the preferred language available as a custom field on each record. Or is there a formula/apex we can use to set the "native" counrty and state values for the record I.e. Account.BillingCountry.getValue(DE)?
Suggestions will be appreciated!
We also have got a scheduled Apex job that retrieves records and generate documnents for our clients (across the world). Unfortunately all the country and state values are retrieved in the user settings of the running user. This has got the undesired effect of rendering an address on the letter partially in the language it was captured (street and city fields) and partially in the language of the running user (Country and State).
So we end up with addresses that looks like
Tullastraße 12345 Köln 99999 GermanyInstead of
Tullastraße 12345 Köln 99999 DeutschlandOh - the records we generate is a mixed bag, different countries.
Question:
Is there a way to retrieved the country and state values for a record (Account/Contact/Lead/etc) based on the "native" langueg for the record? We do have the preferred language available as a custom field on each record. Or is there a formula/apex we can use to set the "native" counrty and state values for the record I.e. Account.BillingCountry.getValue(DE)?
Suggestions will be appreciated!
May I request you please refer the below link for reference.
- https://developer.salesforce.com/forums/?id=906F00000008xcKIAQ
Let us know if it helps.Thanks
Rahul Kumar
Nope, that does not answer the question.
Thanks.