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

Add folder for TinyMCE's translation #644

Open
allinappliadmin opened this issue Apr 16, 2024 · 6 comments
Open

Add folder for TinyMCE's translation #644

allinappliadmin opened this issue Apr 16, 2024 · 6 comments

Comments

@allinappliadmin
Copy link

Would it be possible to add a folder for the internationalization of TinyMCE: /packages/mosaico/dist/tinymce/langs with the official translation files found here: https://www.tiny.cloud/get-tiny/language-packages/
Each update for the extension on each of our instances implies to re-add this file manually (here for French)
fr_FR.js.zip

@allinappliadmin
Copy link
Author

Any updates about this? Each new version of Mosaico implies a lot of redondant work to have the translation of TinyMCE back again.

@mattwire
Copy link
Collaborator

@allinappliadmin I did merge a French translation PR for 3.6. Are you able to create a PR for the tinymce translation?

@allinappliadmin
Copy link
Author

I could try yes. The question would be to automatically package the latest version for each new release if there's an update on TinyMCE.

@mattwire
Copy link
Collaborator

I could try yes. The question would be to automatically package the latest version for each new release if there's an update on TinyMCE.

I don't know how to either but that sounds like the right approach :-)

@allinappliadmin
Copy link
Author

allinappliadmin commented Sep 10, 2024

were should the new 'tinymce' be created? There's no such folder here: https://github.com/civicrm/mosaico/tree/master when in the extension it should be here: uk.co.vedaconsulting.mosaico/packages/mosaico/dist/tinymce/langs

@allinappliadmin
Copy link
Author

I can manually download and add the translated files only. To add it programmatically I guess we would have to append the script you use to create the extension file as if I understood well Mosaico itself is downloaded and embedded in the extension.

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

2 participants