Update Language Packs by ACP

https://www.phpbb.com/ideas/
Post Reply
hubaishan
Translator
Posts: 155
Joined: Sun Apr 10, 2011 2:47 pm
Name: Saeed Hubaishan
Contact:

Update Language Packs by ACP

Post by hubaishan »

It is important to keep language pack updated. Most of language packs updated with a week from new version announcement. So it will be useful to update language packs from ACP and it is important to include Language pack version and targeted phpBB version in the language pack to check if it is up to date or not.
User avatar
warmweer
Jr. Extension Validator
Posts: 11195
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium
Contact:

Re: Update Language Packs by ACP

Post by warmweer »

Not 100% sure but I kind of remember this being presented as an idea a couple of months ago (or perhaps it was a discussion).
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
User avatar
tojag
Registered User
Posts: 422
Joined: Thu Aug 07, 2014 8:00 am
Location: Warsaw, Poland, EU
Name: Gregory

Re: Update Language Packs by ACP

Post by tojag »

After logging into ACP, the availability of the latest packet should be automatically checked as it is in the case of the phpBB version information.
Tarantino
Registered User
Posts: 874
Joined: Sat Feb 18, 2012 1:51 pm

Re: Update Language Packs by ACP

Post by Tarantino »

Would be great a feature where we upload let say the english version of a newer version and when we go to french translation it would show us the variables that are not present on french translation. Or it could show all the variables that had changes on last english version between the version we've and the last version. So we would easely complete a translation.

There are many translations on 3.0 and would be great if we had an easy way to import all the variables to the last english translation and only need to translate the missing ones. And beside that it could mark all the variables that changed between 3.0 and 3.2 for example so we would check the translation to see if we need to revise.

This would be a life saver for translators!
User avatar
Ancient Viking
Registered User
Posts: 591
Joined: Sun Jan 15, 2012 11:43 pm

Re: Update Language Packs by ACP

Post by Ancient Viking »

I know Joomla already use this update method and the same thing also applies for the Joomla software as well.

Works great IMO and I think it would be beneficial for a lot of people, if phpBB also use a similiar system.
My local forum: egetforum.nu - Offline Forum Online!
User avatar
TimRiker
Registered User
Posts: 16
Joined: Wed Jun 24, 2015 6:16 pm
Name: Tim Riker
Contact:

Re: Update Language Packs by ACP

Post by TimRiker »

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
Post Reply

Return to “phpBB Ideas”