Feature Wiki
Tabs
Move Translations Table to DataTable
Page Overview
[Hide]1 Initial Problem
With ILIAS 10 we will want and have to move the current table showing the list of available languages for an object to a DataTable from UI-Components. This will lead to a few changes as the current implementation relies on form inputs inside the table.
2 Conceptual Summary
The table will be moved to a DataTable. The following changes will be made:
- The button "Add Languages" will be changed to "Add Language".
- The table will become read only.
- The table column "Default" will be split up into "Default Language" and "Master Language".
- Each row will have the actions: "Edit", "Delete", and "Make default Language".
- "Delete" will also be a MultiAction.
- "Add Language" and "Edit" will lead into a modal, where the title and the description can be changed. The title and description of the default language will also be shown in this modal. In the modal "Add Language" an additional dropdown will be shown to select the language to be added.
3 User Interface Modifications
3.1 List of Affected Views
- Object -> Settings -> Multilingualism
3.2 User Interface Details
3.3 New User Interface Concepts
I don't think this qualifies as a concept, but we don't seem to have a fitting UI-Component to present translation from the default language at the top of the modal.
3.4 Accessibility Implications
Ensuring accessibility will be simplified by moving to the UI-Components.
4 Technical Information
{ The maintainer has to provide necessary technical information, e.g. dependencies on other ILIAS components, necessary modifications in general services/architecture, potential security or performance issues. }
5 Privacy
No change.
6 Security
Ensuring security will be simplified by moving to the more consistent and standardized methods of data retrival provided by the DataTable.
7 Contact
- Author of the Request: Kergomard, Stephan [skergomard]
- Maintainer: Kergomard, Stephan [skergomard]
- Implementation of the feature is done by: Kergomard, Stephan [skergomard]
8 Funding
If you are interest in funding this feature, please add your name and institution to this list.
- …
9 Discussion
Kunkel, Matthias [mkunkel], 06 DEC 2023: The current implementation of this feature has a conceptual error. It offers languages that are not supported by the installation because it doesn't check which languages are supported (activated in Language administration) but uses all languages available in meta#:#meta_l_xx.
Why doesn't this make sense? ILIAS always presents you content in the language you have selected for your interface. You only can switch languages when you are not logged in (Anonymous). But also here you only have a choice between all activated system languages. It will never be possible to get presented a content or an object title in Afrikaans - as long as Afrikaans is not a system language. So why shall we support this?
If we tackle this feature, then we should also fix this error right away. Otherwise it will stay with us for another 20 years.
Kergomard, Stephan [skergomard], 11 DEC 2023: I'm all for it, if nobody has objections!
JourFixe, ILIAS [jourfixe], 08 JAN 2024: We highly appreciate this suggestion and schedule the feature for ILIAS 10. Please offer only those languages here that are supported by ILIAS in general (and not all available languages vrom meta_l_xx as it is the case at the time being).
10 Implementation
{ The maintainer has to give a description of the final implementation and add screenshots if possible. }
Test Cases
Test cases completed at {date} by {user}
- {Test case number linked to Testrail} : {test case title}
Privacy
Information in privacy.md of component: updated on {date} by {user} | no change required
Approval
Approved at {date} by {user}.
Last edited: 8. Jan 2024, 15:07, Kunkel, Matthias [mkunkel]