J4 Issue ?
avatar Bakual
Bakual
29 May 2017

Steps to reproduce the issue

Try installing an additional language during installation or using the Install Language view. It will not find a package.

Expected result

Install the language

Actual result

Doesn't install as there is no matching package for 4.0

Additional comments

Now that is somewhat expected at this point since the targetplatform in http://update.joomla.org/language/translationlist_3.xml doesn't contain 4.0, and thus rightfully no package is found.

As you see from the name of the XML, it is meant for the J3 series. For J4 we may want to use a new XML source. But that means some code changes and changing of update servers in the database.
We could also use the same XML but add a second item for 4.0 for each release.
We likely will have separate language packs for J4.0 that are not compatible with J3.x (due to removed and changed strings).

That needs a decision and setting up of the respective infrastructure (preferrably on JDownloads) so multilingual features can be tested properly on J4. Would be great if that is ready soon.

avatar Bakual Bakual - open - 29 May 2017
avatar joomla-cms-bot joomla-cms-bot - change - 29 May 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 29 May 2017
avatar mbabker
mbabker - comment - 29 May 2017

Without some revisiting of the specs for what we want language package management to look like with the downloads site, and some support in the code work that will take (i.e. if there's a request to use the site frontend, ARS has no frontend management; we also have to extend ARS' ACL down a level otherwise anyone with component access can get anywhere and we don't want that), I don't know if we'll have that site ready to cope with language packages for 4.0. It'd be nice if we could get it there though.

avatar Bakual
Bakual - comment - 29 May 2017

For reference, the extension we use on our download site is https://github.com/joomla/downloads.joomla.org

avatar franz-wohlkoenig franz-wohlkoenig - change - 29 May 2017
Status New Discussion
avatar franz-wohlkoenig franz-wohlkoenig - change - 29 May 2017
Category com_languages
avatar infograf768
infograf768 - comment - 30 May 2017

I don't know if we'll have that site ready to cope with language packages for 4.0. It'd be nice if we could get it there though.

In the meanwhile, maybe we could implement a cron that would pick 2 LTR and one RTL language packs from the 3.x joomlacode repo(German, French, Persian) and copy them somewhere where a new xml would fetch them and make them available in 4.0?


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/16337.

avatar mbabker
mbabker - comment - 30 May 2017

Is this a valid update definition? I'd rather add some code to make 4.0 allowed on the current list for select languages without setting up more infrastructure just so we can test things.

  <update>
    <name>German DE</name>
    <description>German DE Translation of Joomla!</description>
    <element>pkg_de-DE</element>
    <type>package</type>
    <version>3.7.2.1</version>
    <downloads>
      <downloadurl type="full" format="zip">http://joomlacode.org/gf/download/frsrelease/20534/163898/de-DE_joomla_lang_full_3.7.2v1.zip</downloadurl>
    </downloads>
    <targetplatform name="joomla" version="3.[0123456789]"/>
    <targetplatform name="joomla" version="4.0"/>
  </update>
avatar mbabker
mbabker - comment - 30 May 2017

The other option, assuming the regex is valid, is this:

    <targetplatform name="joomla" version="[34].[0123456789]"/>
avatar mbabker
mbabker - comment - 30 May 2017

Got my answer, last one works. The cron is updated to make those 3 languages available on 4.0 so when it runs next that (and support for 3.8/9) should be there.

avatar Bakual
Bakual - comment - 30 May 2017

Just for reference, if you wanted to make the package available for 3.x and only 4.0 you would have to duplicate the entry like this:

  <update>
    <name>German DE</name>
    <description>German DE Translation of Joomla!</description>
    <element>pkg_de-DE</element>
    <type>package</type>
    <version>3.7.2.1</version>
    <downloads>
      <downloadurl type="full" format="zip">http://joomlacode.org/gf/download/frsrelease/20534/163898/de-DE_joomla_lang_full_3.7.2v1.zip</downloadurl>
    </downloads>
    <targetplatform name="joomla" version="4.0"/>
  </update>
  <update>
    <name>German DE</name>
    <description>German DE Translation of Joomla!</description>
    <element>pkg_de-DE</element>
    <type>package</type>
    <version>3.7.2.1</version>
    <downloads>
      <downloadurl type="full" format="zip">http://joomlacode.org/gf/download/frsrelease/20534/163898/de-DE_joomla_lang_full_3.7.2v1.zip</downloadurl>
    </downloads>
    <targetplatform name="joomla" version="3.[0123456789]"/>
  </update>

For testing purposes the solution from Michael of course works fine and is the simplest approach.

avatar fouadfana
fouadfana - comment - 30 May 2017

is there an issue with language installer nowadays? I'm using Joomla 3.7.2, as I'm trying to install new language from extension manager but the following warning and error has been shown:

Warning
Error connecting to the server: 404

Error

Invalid URL
Unable to find install package

I tried to download the language package form (https://community.joomla.org/translations/joomla-3-translations.html#ar-aa) to installed offline but it seems all package links don't existing or not reachable.

please any advice regarding to this issue.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/16337.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 31 May 2017

@fouadfana please open a new Issue as this one is for 4.0, thanks.

avatar Bakual
Bakual - comment - 31 May 2017

Works fine for me on 3.7.2. It was either a short outtage from JoomlaCode or something with your connection.

avatar franz-wohlkoenig franz-wohlkoenig - change - 31 May 2017
Status Discussion Information Required
avatar fouadfana
fouadfana - comment - 31 May 2017

thanks @frankmayer and @Bakual , it was something with the connection, it seems like restricted to connected with joonle website.

avatar franz-wohlkoenig franz-wohlkoenig - change - 31 May 2017
Status Information Required Closed
Closed_Date 0000-00-00 00:00:00 2017-05-31 08:13:03
Closed_By franz-wohlkoenig
avatar joomla-cms-bot joomla-cms-bot - change - 31 May 2017
Closed_By franz-wohlkoenig joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 31 May 2017
avatar joomla-cms-bot
joomla-cms-bot - comment - 31 May 2017
avatar mbabker
mbabker - comment - 31 May 2017

This should actually stay open. We don't have any of our backend architecture for supporting language packs on 4.0 set up yet (either in the CMS itself or our joomla.org web properties). So this can and should remain the tracking item for that work.

avatar Bakual Bakual - change - 31 May 2017
Status Closed New
Closed_Date 2017-05-31 08:13:03
Closed_By joomla-cms-bot
avatar Bakual Bakual - reopen - 31 May 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 31 May 2017

Installed nightly Build full Package using French and Persian fur Multilang: Installation of Lang stopped at Tab 2, couldn't finish Installation of Lang. In Backend Menues for French and Persian are created.

avatar franz-wohlkoenig franz-wohlkoenig - change - 4 Jun 2017
Status New Discussion
avatar brianteeman brianteeman - change - 25 Mar 2018
Labels Added: J4 Issue
avatar brianteeman brianteeman - labeled - 25 Mar 2018
avatar brianteeman brianteeman - change - 19 Aug 2018
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2018-08-19 09:54:17
Closed_By brianteeman
avatar brianteeman
brianteeman - comment - 19 Aug 2018

closed - see #21712 as a dedicated tracker for infrastructure

avatar brianteeman brianteeman - close - 19 Aug 2018

Add a Comment

Login with GitHub to post a comment