| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<!-- define "link" attribute in case the table doesn't follow the standard notation of "_lang_" --> |
| 3 |
<translation table="#__vikappointments_lang_option_value" id="optionvar"> |
| 4 |
|
| 5 |
<columns> |
| 6 |
|
| 7 |
<!-- define primary key column --> |
| 8 |
<column name="id" rule="pk" /> |
| 9 |
|
| 10 |
<!-- omit "link" attribute in case the columns of both the tables have the same name --> |
| 11 |
<column name="name" rule="content" /> |
| 12 |
|
| 13 |
<!-- define foreign key column to create a relation with translation link --> |
| 14 |
<!-- define "link" attribute in case the landing table PK is not equals to "id" --> |
| 15 |
<column name="id_variation" rule="fk" /> |
| 16 |
|
| 17 |
<!-- define foreign key column ro create a relation with a different language table --> |
| 18 |
<!-- the "link" attribute can be used to recognize the table identifier to which the child belongs --> |
| 19 |
<column name="id_parent" rule="parent" link="option" /> |
| 20 |
|
| 21 |
<!-- define column used to register the translation language tag --> |
| 22 |
<column name="tag" rule="language" /> |
| 23 |
|
| 24 |
</columns> |
| 25 |
|
| 26 |
</translation> |