The
tr function translates text into the appropriate language based on the application current's language. The text can come from a
string_expression, generally a string literal, or from a
message_number. Text translations are defined in the application's
message file.
The function returns a string with the translated message. If there is no available translation, then the original message is returned.