translation - liamlamth/blog GitHub Wiki

build-in translation

  • a contributor have already made a translation collection, but some of the translations are still incomplete (zh-cn) http://translate-apex.com/apex/
  • to add manual translation, follow below step:
  1. check translation table to find the translate text.
    e.g. searching message_text with the display value in frontend
    select translatable_message,          -- the id
           message_text,                  -- the display value
           is_js_message                  -- used in javascript
    from apex_application_translations
    
  2. edit application language
    shared component >> [globalization] globalization attributes >> application primary language
    
  3. add translation against each translatable word
    shared component >> [globalization] text messages
    
    name:                  step 1 translatable_message
    language:              step 2 selection
    used in javascript:    step 1 is_js_message
    text:                  translation output
    
⚠️ **GitHub.com Fallback** ⚠️