The iso.txt file should be moved to a json file that includes the same fields, name, localized name, maintainer, but also add version, master url, phpBB supported version(s).
There might be two urls, one for a "support site" like:
https://www.phpbb.com/customise/db/translation/hebrew/
https://www.phpbb.com/customise/db/tran ... lease.json
Then the ACP could show the release version for each language pack, allow users to follow the link to the support site, and if we can agree on a release.json format, highlight versions that have been updated.
There would then be a provision to update to the version that applies to the running version of phpBB, and install it by:
- downloading the zip
- removing old files like:
Code: Select all
rm -r ext/phpbb/viglink/language/lang language/lang styles/prosilver/theme/lang
- unpacking new files into place
- remove downloaded zip
There should be a command line version of this, particularly for people running phpBB with file ownership other than the web server account for enhanced security.
Code: Select all
$ php bin/phpbbcli.php
...
lang:add add language
lang:list list installed languages
lang:remove remove language
lang:update update language