Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to update the language #54

Closed
galamarco opened this issue Sep 9, 2021 · 13 comments
Closed

unable to update the language #54

galamarco opened this issue Sep 9, 2021 · 13 comments

Comments

@galamarco
Copy link

Steps to reproduce the issue

I have a clean installation of Joomla 4.0.2 with Italian language installed for frontend and backend.
The update system notifies me a language update available. I run this update, it is not carried out and after a few hours an update is available again the same update that I run, it tells me that it has completed the update but it is not so and still in loop.
I think Joomla fails to update the language.
I don't know if it has anything to do with this problem but the current language version is not detected.
Current version not detected

Expected result

If I do an update it must actually be done.

Actual result

The update does not happen but it confirms that I have done it correctly.

System information (as much as possible)

Joomla 4.0.2
PHP: 7.4.23
MySql: 10.3.31-MariaDB-cll-lve

Marco Galassi

@brianteeman
Copy link

The problem is because the italian language xml file does not contain version information.

@HLeithner can you assist?


<?xml version="1.0" encoding="utf-8"?>
<extension client="administrator" type="language" method="upgrade">
	<name>Italiano (it-IT)</name>
	<tag>it-IT</tag>
	<version/>
	<creationDate>August 2021</creationDate>
	<author>Italian Translation Team</author>
	<authorEmail>stellainformatica@gmail.com</authorEmail>
	<authorUrl>www.joomla.org</authorUrl>
	<copyright>(C) 2013 Open Source Matters, Inc.</copyright>
	<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
	<description>it-IT administration language</description>
	<files>
		<folder>/</folder>
		<filename file="meta">install.xml</filename>
	</files>
	<params/>
</extension>

@infograf768
Copy link
Member

The version is absent from ALL xml(s). Again one of these Crowdin oddities not corrected by the TT.

@brianteeman
Copy link

The version is absent from ALL xml(s). Again one of these Crowdin oddities not corrected by the TT.

Of the 7 I just checked it was only missing from 2

@HLeithner
Copy link
Member

hmm I checked the it package in https://github.com/joomla/core-translations/blob/main/joomla_v4/translations/package/it-IT/language/it-IT/langmetadata.xml and this is correct maybe 4.02 packages are broken?

@brianteeman
Copy link

The latest package available to download by a user is https://downloads.joomla.org/language-packs/translations-joomla4/downloads/joomla4-italian/4-0-2-3

This does not have the version information

@conconnl
Copy link
Member

conconnl commented Sep 9, 2021

The version is absent from ALL xml(s). Again one of these Crowdin oddities not corrected by the TT.

This has nothing to do with Crowdin.
Has everything to do with a TT not making sure everything is checked, approved and tested.

If they don’t update or add the version number which is required by how joomla works, you get issues.

@infograf768
Copy link
Member

@HLeithner
The Italian package has been updated after I contacted the TT and the pkg_it-IT.xml version has been corrected i.e. 4.0.2.4 as pack zip name.
But what you quote, which has been modified at the same time, is wrong as the pack is for 4.0.2 and not 4.0.3...
This comes from the fact that the version has changed when 4.0-dev has been reset to dev after 4.0.2 release. Crowdin is therefore proposing 4.0.3 and it's easy to mistake. Happily, the site, admin and api versions in their xml have no impact on updating, afaik only the package.xml counts.

@conconnl
You are partly right. Crowdin is not only at stake. Responsibility is also to Marco and others with forcing the new system and the absence of coordination checking packs.

@infograf768
Copy link
Member

@conconnl
As I don't know where to post this, here is one of my findings on Crowdin:

Screen Shot 2021-09-10 at 09 31 03

This confuses Pashto tag ps-AF with Afrikaans => tag af-ZA,
Dari Persian tag prs-AF for which we had a pack in J3 is absent from the list.

@brianteeman
Copy link

PLEASE CREATE YOUR OWN ISSUES AND NOT HIJACKING OTHERS

@conconnl
Copy link
Member

PLEASE CREATE YOUR OWN ISSUES AND NOT HIJACKING OTHERS

Exactly, you know there is also a Repository for the translation storage.
https://github.com/joomla/Core-Translations

@HLeithner
Copy link
Member

PLEASE CREATE YOUR OWN ISSUES AND NOT HIJACKING OTHERS

Exactly, you know there is also a Repository for the translation storage.
https://github.com/joomla/Core-Translations

I'm moving this issue to core translations (not sure if this is really the right issue tracker because it's a translation italien issue) at least it has nothing todo with the core it self.

@HLeithner HLeithner transferred this issue from joomla/joomla-cms Sep 10, 2021
@infograf768
Copy link
Member

Thanks @HLeithner

I forgot indeed about that repository.
@brianteeman and @conconnl Cool down. Nobody is dead.

@conconnl
Copy link
Member

In the mean time Italian has published new packages which are able to be updated via the Joomla Backend

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants