? Language Change NPM Resource Changed PR-5.0-dev Pending

User tests: Successful: Unsuccessful:

avatar dgrammatiko
dgrammatiko
19 Apr 2023

Pull Request for Issue #40408 .

Summary of Changes

Use the official translation files

Testing Instructions

Run npm ci and check that changing the language in tinyMCE still works as before

Actual result BEFORE applying this Pull Request

Expected result AFTER applying this Pull Request

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

@tecpromotion @brianteeman

A note here: this could be alternative done as a GitHub action similar to the Joomla languages with the benefit that there will not be an additional nom dependency for the adm-zip module and also keep the tools execution time shorter...

avatar joomla-cms-bot joomla-cms-bot - change - 19 Apr 2023
Category JavaScript Repository Language & Strings NPM Change
avatar dgrammatiko dgrammatiko - open - 19 Apr 2023
avatar dgrammatiko dgrammatiko - change - 19 Apr 2023
Status New Pending
avatar dgrammatiko dgrammatiko - change - 19 Apr 2023
Labels Added: Language Change NPM Resource Changed PR-5.0-dev
avatar joomla-cms-bot joomla-cms-bot - change - 19 Apr 2023
Category JavaScript Repository Language & Strings NPM Change Unit Tests JavaScript Repository Language & Strings NPM Change
avatar dgrammatiko
dgrammatiko - comment - 19 Apr 2023

@HLeithner @Hackwar can someone approve the node version bump to v18 on the drone for v5?

FWIW v16 (currently used) will be EOL by the time v5 will be released: https://github.com/nodejs/Release/blob/main/schedule.svg

avatar HLeithner
HLeithner - comment - 19 Apr 2023

done, but can we do it finally in a separate PR?

avatar dgrammatiko
dgrammatiko - comment - 19 Apr 2023

Sure, I wanted to see what's the real impact on the npm ci with the additional fetch/unzip/minification of the files...

avatar laoneo
laoneo - comment - 19 Apr 2023

Should we not load it through npm https://github.com/mklkj/tinymce-i18n?

avatar dgrammatiko
dgrammatiko - comment - 19 Apr 2023

Should we not load it through npm https://github.com/mklkj/tinymce-i18n?

Personally I'm against depending on a random developer for something that essentially is done in the same way: https://github.com/mklkj/tinymce-i18n/blob/a62cd4a29fe10d85aaefe6062abd10fc6cbfd938/update.sh#L3

FWIW maybe you can create a tinyMCE-languages under Joomla-projects and I can create a similar automation (the point here is security, ownership, bus factor, etc). But if people are ok with pulling random packages then I can change the nom-tools to use that package...

avatar HLeithner
HLeithner - comment - 19 Apr 2023

I think we should move this to https://github.com/joomla/core-translations and download directly from upstream should be preferred instead of downloading from a random source.

avatar dgrammatiko
dgrammatiko - comment - 19 Apr 2023

I think we should move this to https://github.com/joomla/core-translations and download directly from upstream should be preferred instead of downloading from a random source.

If this is the decision then create a v5 branch (or call it whatever you like) in the core-translations repo and I will patch things there and correct the PR here

avatar dgrammatiko dgrammatiko - change - 6 May 2023
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2023-05-06 22:20:02
Closed_By dgrammatiko
Labels Added: ?
avatar dgrammatiko dgrammatiko - close - 6 May 2023

Add a Comment

Login with GitHub to post a comment