HugeRTE localization instructions have been added to the README #37
Replies: 6 comments 10 replies
|
Nicely done. I am on my Summer Holiday. Back at the end of this week. When I am back I assure you I will be in touch. |
|
Do you plan on making packaging language as easy as you have done with CSS with v1.0.7? |
|
I'm having an issue with language selection. I've already downloaded the file, renamed tinymce to hugerte and imported it as recommended by the TinyMCE documentation, but it's not working. |
|
Hi! @carlosmintfan Yes, I have set the language option in hugerte.init, as shown in my code. However, I am getting the following error in the browser console:
It seems that HugeRTE is attempting to load the language file from a CDN but fails to find it. I also tried adding the language_url option, pointing to my local file in the application root, as shown below: And it's returning the same error, but with local path
Below is my current code for reference: |
|
Hi @carlosmintfan, Thanks for your response! I tried adding the language file to the public folder, and the console no longer shows the error: "Failed to load language: pt_BR from ..." However, the editor is still not displaying the translation. To ensure that the public folder setup is working correctly, I tested it by adding a custom external plugin, and it is loading successfully. Do you have any suggestions on what else I might be missing? |
|
I've been trying to bundle HugeRTE by following the Next.js documentation on package bundling, but I’m unsure whether I need to install both @hugerte/hugerte-react and hugerte, or just the first package. I tried installing both, but I still haven’t had any success. Do you have any recommendations on how to properly bundle HugeRTE |
Uh oh!
There was an error while loading. Please reload this page.
For those that have been waiting for instructions on how to localize TinyMCE, the info has been added to the README.
All reactions