Local
4 min
returns the localized value of the input, if one exists in the application this function only works for text values and not for other types such as datetime values the localized value is based on the user associated with the current session syntax local(value) enabled for for a description of the business object categories, see notes on "enabled for" docid\ u26v9fecfs6ilwa0 pvjd business object category yes/no business rules before save rules yes1 business rules calculation rules (after save, with or without also recalculate on load) yes business rules calculation rules (before save or always, without also recalculate on load) yes1 business rules calculation rules (before save or always, with recalculate on load) yes business rules editing rules yes1 business rules initialization rules yes1 business rules read only rules yes1 business rules required rules yes1 business rules validation rules yes1 client expressions yes object permissions no services yes ldap yes mobile yes quick actions (except ui quick actions) yes1 ui quick actions no reports yes1 search/dashboard without field references yes1 search/dashboard with field references no 1 except when this field appears on a form or is triggered by such a field parameters parameter description value text value to localize return value text value when used with field references, if the field is validated, this function returns the local value if no localized value exists, this function returns the original value when used with literals, looks for and returns a translation in the frs def translations table example $(((((local("change ") + changenumber) + " (") + local(status)) + ")")) if the text in english is "change 10311 (logged)" and the current user has french (france) as their locale, this function returns "modifier 10311 (consignã©s)"
