Using multiple languages for child ingredient statements

This section assumes you are already familiar with child ingredient statements. If not, see the chapter entitled Creating Child Ingredient Statements.

Different function codes and special profile attributes are used by the system to store the child ingredient text. You can store the list of child ingredients in different languages and use the correct child language text for the parent ingredient statement. The correct child text is selected according to the language that is specified for the parent ingredient statement.

  1. Create the function codes for the various languages in the LABEL symbol.

    You can use any name for the function code. For example, U.S. LABEL, FRENCH LABEL, and QUEBEC.LABEL can be used instead of the codes that are shown.

  2. Assign the function codes to the profile attributes.

    In this example:

    • LABEL TEXT is assigned to the LABEL.CHILDFUNC profile attribute.
    • EN-US TEXT is assigned to the LABEL.CHILDFUNC.EN-US profile attribute.
    • FR TEXT is assigned to the LABEL.CHILDFUNC.FR profile attribute.
    • FR-CA TEXT is assigned to the LABEL.CHILDFUNC.FR-CA profile attribute.

    The profile attribute name and the selected language code must match exactly. So, if you create a function code called QUEBEC LABEL, the attribute name must be called LABEL.CHILDFUNC.FR-CA not LABEL.CHILDFUNC.QUEBEC.

    The default profile, LABEL.CHILDFUNC, must also be included so the logic for child ingredient statement can retrieve multi-languages.

    Now, you are ready to assign the function codes to your child ingredient statements.