mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #58858
[Bug 1884717] [NEW] Add language pack management into admin section
Public bug reported:
from the forum post
https://mahara.org/interaction/forum/topic.php?id=8643&offset=0&limit=10
1. It will have an automated check to see if there's a new language pack
for languages installed on the site and the current version of Mahara
2. It will allow the admin to synchronise the language pack if there is
a new one available
We will need a new page on the admin section to show the lang pack management section. When this page is loaded we check if there are any new languages that need to be updated on the site (reusing code from sync_langpacks.php)
If there are any, show a list of them on a table, each one can have a checkbox next to it to select it and at the bottom a button that allows the admin to sync all the languages selected. Once this button is clicked we either run the sync_language.php script or reuse some of the code.
After this is done, show a message to the admin to show if the action was successful and refresh the table
In the code we would need to
- Add the item to admin menu
- separate some code from sync_langpacks.php and create functions to be called, so we can reuse them
- create the php file to generate the admin section page. This will:
- check for new langpacks
- create a form with a table with all langpacks to be synchronised and a sync button
- validate and submit function for that form
** Affects: mahara
Importance: Wishlist
Status: New
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1884717
Title:
Add language pack management into admin section
Status in Mahara:
New
Bug description:
from the forum post
https://mahara.org/interaction/forum/topic.php?id=8643&offset=0&limit=10
1. It will have an automated check to see if there's a new language
pack for languages installed on the site and the current version of
Mahara
2. It will allow the admin to synchronise the language pack if there
is a new one available
We will need a new page on the admin section to show the lang pack management section. When this page is loaded we check if there are any new languages that need to be updated on the site (reusing code from sync_langpacks.php)
If there are any, show a list of them on a table, each one can have a checkbox next to it to select it and at the bottom a button that allows the admin to sync all the languages selected. Once this button is clicked we either run the sync_language.php script or reuse some of the code.
After this is done, show a message to the admin to show if the action was successful and refresh the table
In the code we would need to
- Add the item to admin menu
- separate some code from sync_langpacks.php and create functions to be called, so we can reuse them
- create the php file to generate the admin section page. This will:
- check for new langpacks
- create a form with a table with all langpacks to be synchronised and a sync button
- validate and submit function for that form
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1884717/+subscriptions
Follow ups
-
[Bug 1884717] Re: Add language pack management into admin section
From: Gold, 2022-04-27
-
[Bug 1884717] Re: Add language pack management into admin section
From: Kristina Hoeppner, 2022-03-21
-
[Bug 1884717] Re: Add language pack management into admin section
From: Robert Lyon, 2022-03-21
-
[Bug 1884717] A change has been merged
From: Mahara Bot, 2022-03-21
-
[Bug 1884717] Re: Add language pack management into admin section
From: Kristina Hoeppner, 2022-03-03
-
[Bug 1884717] Re: Add language pack management into admin section
From: Robert Lyon, 2021-12-13
-
[Bug 1884717] A patch has been submitted for review
From: Mahara Bot, 2021-10-14
-
[Bug 1884717] Re: Add language pack management into admin section
From: Cecilia Vela Gurovic, 2020-08-12
-
[Bug 1884717] A patch has been submitted for review
From: Mahara Bot, 2020-07-02
-
[Bug 1884717] Re: Add language pack management into admin section
From: Cecilia Vela Gurovic, 2020-06-30
-
[Bug 1884717] Re: Add language pack management into admin section
From: Cecilia Vela Gurovic, 2020-06-30