Skip to content

Commit

Permalink
OPPIA-1346: Add docs for multi-lingual support for grade boundaries
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbertoMoreta committed Feb 22, 2023
1 parent 0429aef commit f33a064
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 2 deletions.
Binary file modified support/userguide/export_block/images/add_row_button.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified support/userguide/export_block/images/remove_row_button.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ for that feedback activity.

Some instructions on how to configure grade boundaries:

#. **Add extra rows using the** |add-row-button| **button.** The new row will be added between
the rows where the button is located.
#. **Add extra rows using the** |add-row-button| **button.** The new row will be added below
the row where the button is located.
#. **Remove rows using the** |remove-row-button| **button.**
#. **Only the rows containing a message will be saved.** If you don't want to configure
grade boundaries for a specific feedback activity, make sure all the rows for
Expand All @@ -72,6 +72,21 @@ Some instructions on how to configure grade boundaries:
.. note::
The double curly braces in placeholder names are important

#. You can configure multi-lingual feedback messages by specifying one line per
language in the text area, with the following structure:

``<language_code>=<feedback_message>``

For example, if we want to configure a feedback message in English and Spanish, the configuration would look like this:

.. note::
| en=Thank you for your feedback!
| es=¡Gracias por tus comentarios!
The ``language_code`` is a two-letter code that represents the language (e.g., "en" for English, "es" for Spanish). The ``feedback_message`` is the message that will be displayed to the user in the specified language.

You can omit the ``language_code`` if there is only one language configured.


.. |add-row-button| image:: images/add_row_button.png
:width: 25px
Expand Down

0 comments on commit f33a064

Please sign in to comment.