You can use APEX_LANG API to translate messages.
APEX_LANG
Scripting on this page enhances content navigation, but does not change the content in any way.