No Code Attached Yet
avatar brianteeman
brianteeman
10 Jan 2024

Steps to reproduce the issue

with 5.1.0 Alpha 2 or the current 5.1 branch on github you can not install or update any languages.

This is because of this line

<targetplatform name="joomla" version="5.[0]"/>

There are several problems here

  1. The first is the obvious one that the targetplaform needs to be updated
  2. The second is that as far as i can remember you have always been able to install a language for an older release if there is not a current one available. That is why we display the following message and do not disable the install button or the re-install button

image

but if you try to install it then you get the wonderfully helpful error message

image

  1. If you had language XXv5.0.1 and update Joomla to 5.1 then even if there is a language update XXv5.0.2.9 you can not update to it. But you will still be reminded to update

image

image

And the slightly more helpful error message

image

Summary

Language files are not the same as extensions. There is generally no serious problem if the only one available to uise if from an earlier release.

avatar brianteeman brianteeman - open - 10 Jan 2024
avatar joomla-cms-bot joomla-cms-bot - change - 10 Jan 2024
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 10 Jan 2024
avatar brianteeman brianteeman - change - 10 Jan 2024
The description was changed
avatar brianteeman brianteeman - edited - 10 Jan 2024
avatar richard67
richard67 - comment - 13 Jan 2024

The targetplatform issue (item 1 in the list) seems to be resolved with the merged PR joomla-extensions/pkg_languagepack#109 . E.g. for Belarusian (be-BY) at https://update.joomla.org/language/details5/be-BY_details.xml :

<targetplatform name="joomla" version="5.[01]"/>

The 2nd item seems to be resolved with with the 1st one. Installing a language works now on 5.1-dev without any problem.

The 3rd item I haven't checked yet, but I would assume it's also resolved.

@brianteeman Could you check?

avatar brianteeman
brianteeman - comment - 13 Jan 2024

it appears to work although I do wonder whats the point in having version="5.[01]"/> as someone will need to remember that it needs to be updated every release. Might as well just be for all 5.x versions

avatar brianteeman brianteeman - change - 13 Jan 2024
Status New Closed
Closed_Date 0000-00-00 00:00:00 2024-01-13 14:06:44
Closed_By brianteeman
avatar brianteeman brianteeman - close - 13 Jan 2024
avatar tecpromotion
tecpromotion - comment - 13 Jan 2024

it appears to work although I do wonder whats the point in having version="5.[01]"/> as someone will need to remember that it needs to be updated every release. Might as well just be for all 5.x versions

It's on my list. Thanks.

avatar HLeithner
HLeithner - comment - 13 Jan 2024

internal documentation should be updated

Add a Comment

Login with GitHub to post a comment