[wp-trac] [WordPress Trac] #34007: Wordpress symlink (windows) and tinymce plugins languages

WordPress Trac noreply at wordpress.org
Sat Sep 26 01:37:03 UTC 2015


#34007: Wordpress symlink (windows) and tinymce plugins languages
--------------------------+-----------------------------------------
 Reporter:  Hrohh         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  TinyMCE       |     Version:  4.3.1
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  javascript, administration
--------------------------+-----------------------------------------

Comment (by azaozz):

 Hi @Hrohh, thanks for the bug report.

 It is generally better to not use langs/[locale].js and
 langs/[locale]_dlg.js. The later is a left-over from TinyMCE 3.x anyway.

 Using langs/[locale].js will load another (usually very small) file making
 the overall load time longer. It seems better to paste all translated
 strings right into the plugin JS file and load the appropriate strings
 depending on the `editor.settings.locale` on `editor.on( 'preInit', ...
 )`.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34007#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list