Task text editing
- Last UpdatedDec 13, 2023
- 1 minute read
Editing task text
Each task has two text fields:
-
Title: The mandatory name of the task.
-
Description: An optional detailed description of the actions to perform.
Using localization files
The Self Learning project application is multi-language. The best practice is to use localization files, not to put the text directly into the task definition.
Use location files
Each task title and description must refer to an unique name in the language localization file dictionary.
Code example
An example of a task referencing a localization file.
<task name="t10" title="@lang:mo_t10_title@">
<task name="t10_1" title="@lang:mo_t10_1_title@" description="@lang:mo_t10_1_desc@" >
</task>
</task>
Note: Avoid embedding text directly inside task definitions. This practice is not recommended.