Last post Apr 12, 2019 02:06 AM by Jenifer Jiang
Member
175 Points
608 Posts
Apr 11, 2019 05:12 AM|neoaguil17|LINK
Hi
I created a web page with tinymce, I downloaded the spanish language and it doesnt work,,,
The language doesn't change from English to Spanish...
The word of "BOLD" is not "NEGRO"
I have my references as:
<script type="text/javascript" src="~/Scripts/tiny-mce/tinymce.min.js"></script> <script type="text/javascript" src="~/Scripts/tiny-mce/theme.min.js"></script> <script type="text/javascript" src="~/Scripts/tiny-mce/es_MX.js"></script>
All-Star
53574 Points
13316 Posts
Apr 11, 2019 01:57 PM|bruce (sqlwork.com)|LINK
Apr 11, 2019 02:25 PM|neoaguil17|LINK
YES
Contributor
2100 Points
705 Posts
Apr 12, 2019 02:06 AM|Jenifer Jiang|LINK
Hi neoaguil17,
According to your description, I've made a sample on my side and it works well.
I'd like to ask that have you download the Spanish language from this link: https://www.tiny.cloud/get-tiny/language-packages/ ?
I've downloaded from the link and set the language attribute in js and it works well.
Here is my working code and maybe you could refer to.
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title></title> <script src="https://code.jquery.com/jquery-3.3.1.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/tinymce/5.0.3/tinymce.min.js"></script> <script src="Reference/es_MX.js"></script> <script> $(function () { tinymce.init({ language: 'es_MX', selector: 'textarea#basic-example', height: 500, menubar: false, plugins: [ 'advlist autolink lists link image charmap print preview anchor textcolor', 'searchreplace visualblocks code fullscreen', 'insertdatetime media table paste code help wordcount' ], toolbar: 'undo redo | formatselect | bold italic backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | removeformat | help', content_css: [ '//fonts.googleapis.com/css?family=Lato:300,300i,400,400i', '//www.tiny.cloud/css/codepen.min.css' ] }); }) </script> </head> <body> <textarea id="basic-example"> </textarea> </body> </html>
result:
Reference:https://www.tiny.cloud/docs/configure/localization/#language
Best Regards,
Jenifer
Member
175 Points
608 Posts
Language of tinymce doesn't work
Apr 11, 2019 05:12 AM|neoaguil17|LINK
Hi
I created a web page with tinymce, I downloaded the spanish language and it doesnt work,,,
The language doesn't change from English to Spanish...
The word of "BOLD" is not "NEGRO"
I have my references as:
All-Star
53574 Points
13316 Posts
Re: Language of tinymce doesn't work
Apr 11, 2019 01:57 PM|bruce (sqlwork.com)|LINK
Member
175 Points
608 Posts
Re: Language of tinymce doesn't work
Apr 11, 2019 02:25 PM|neoaguil17|LINK
YES
Contributor
2100 Points
705 Posts
Re: Language of tinymce doesn't work
Apr 12, 2019 02:06 AM|Jenifer Jiang|LINK
Hi neoaguil17,
According to your description, I've made a sample on my side and it works well.
I'd like to ask that have you download the Spanish language from this link: https://www.tiny.cloud/get-tiny/language-packages/ ?
I've downloaded from the link and set the language attribute in js and it works well.
Here is my working code and maybe you could refer to.
result:
Reference:https://www.tiny.cloud/docs/configure/localization/#language
Best Regards,
Jenifer
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.