Skip to main content

Example: Add a question in multiple languages

To add a question to a pre-defined question set that is visible by American English and Spanish users:

  1. Create your custom en-us-language.kvg file as follows:

    # KVGROUP-V1.0 
    "language" "EN_US" = { 
      "_NEW_QUESTION" "" = { 
        "text" = "Date of birth" 
      } 
    }
  2. Create your custom es-es-language.kvg file as follows:

    # KVGROUP-V1.0 
    "language" "ES_ES" = { 
      "_NEW_QUESTION" "" = { 
        "text" = "fecha de cumpleanos" 
      } 
    }
  3. After you generate and install the modified en-us and es-es skins, you can now type !!!_NEW_QUESTION in the Question field on the question definition page. Bravura Security Fabric will identify the tag, and replace it with the corresponding text before it is displayed to the end user.