Title: TinyMCE &#8211; Missing Danish language javascript file
Last modified: April 16, 2021

---

# TinyMCE – Missing Danish language javascript file

 *  [wpmhy](https://wordpress.org/support/users/wpmhy/)
 * (@wpmhy)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/tinymce-missing-danish-language-javascript-file/)
 * I am experiencing some issues in the page edit view.
    When the page loads a red
   message displays with the following error message:
 * `Failed to load plugin url: <domain>/wp-content/plugins/author-avatars/lib/../
   tinymce/langs/da.js`
 * Through my research, I have discovered that a Danish translation does seem to
   exist in the TinyMCE Cloud:
 * [https://www.tiny.cloud/get-tiny/language-packages/](https://www.tiny.cloud/get-tiny/language-packages/)
 * Locally I have tested, by manually adding this file to the _langs_ directory.
 * [https://plugins.trac.wordpress.org/browser/author-avatars/tags/2.1.4/tinymce/langs](https://plugins.trac.wordpress.org/browser/author-avatars/tags/2.1.4/tinymce/langs)
   
   [http://plugins.svn.wordpress.org/author-avatars/tags/2.1.4/tinymce/langs/](http://plugins.svn.wordpress.org/author-avatars/tags/2.1.4/tinymce/langs/)
 * This does prevent the error.
 * Is there any chance you guys could add the Danish Translation to this plugin?
 * Please let me know, if I need to provide any further information.
 * Thanks in advance.
    -  This topic was modified 5 years, 1 month ago by [wpmhy](https://wordpress.org/support/users/wpmhy/).
    -  This topic was modified 5 years, 1 month ago by [wpmhy](https://wordpress.org/support/users/wpmhy/).

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [FinnSommer](https://wordpress.org/support/users/finnsommer/)
 * (@finnsommer)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/tinymce-missing-danish-language-javascript-file/#post-14326168)
 * Hi [@wpmhy](https://wordpress.org/support/users/wpmhy/)
 * It seems that you are linking to an external plugin pages.
    You are welcome to
   translate the plugin through WordPress.org here: [https://translate.wordpress.org/projects/wp-plugins/author-avatars/dev/da/default/](https://translate.wordpress.org/projects/wp-plugins/author-avatars/dev/da/default/)
 * After that, some of the GTE from the Danish team will approve your translations.
 * Kind Regards
    Finn Sommer GTE Danish Team
 *  Moderator [Yui](https://wordpress.org/support/users/fierevere/)
 * (@fierevere)
 * 永子
 * [5 years, 1 month ago](https://wordpress.org/support/topic/tinymce-missing-danish-language-javascript-file/#post-14326211)
 * See also: [https://make.wordpress.org/polyglots/handbook/translating/after-your-contribution/](https://make.wordpress.org/polyglots/handbook/translating/after-your-contribution/)
 *  Plugin Author [Paul Bearne](https://wordpress.org/support/users/pbearne/)
 * (@pbearne)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/tinymce-missing-danish-language-javascript-file/#post-14327335)
 * Hi All
 * I am happy to add the translations file
 * [@wpmhy](https://wordpress.org/support/users/wpmhy/) did you translate the strings
   in the file you added
    if so please send it to me and I will add it to the plugin
 * Thank you for reporting this
 * Paul
 *  Thread Starter [wpmhy](https://wordpress.org/support/users/wpmhy/)
 * (@wpmhy)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/tinymce-missing-danish-language-javascript-file/#post-14335081)
 * Thanks for all of the responses.
 * [@pbearne](https://wordpress.org/support/users/pbearne/) thanks a ton for being
   willing to help. 🙂
 * I did not translate the file myself, I only found it by searching the web (based
   on my initial error message).
 * However, upon closer inspection, it looks like the one I suggested contains different
   translation strings than what is inside of the language files in your plugin.
 * Is it correct, that the plugin translation object should only contain (something
   like) the following?
 *     ```
       tinyMCE.addI18n({
       	"be":{
       		"authoravatars": {
       			"desc" : "Add Author Avatars Shortcodes"
       		}
       	}
       });
       ```
   
 * In that case, I would happily share my translation with you?
 * How do I best share it (sorry if this should be obvious, I am still a little 
   new to contributing)?
 * For good meassure and in case it is sufficient, I will share my Danish translation
   of the above object/string.
 *     ```
       tinyMCE.addI18n({
       	"be":{
       		"authoravatars": {
       			"desc" : "Tilføj Forfatter Avatars Shortcode"
       		}
       	}
       });
       ```
   

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘TinyMCE – Missing Danish language javascript file’ is closed to new replies.

 * ![](https://ps.w.org/author-avatars/assets/icon-256x256.png?rev=973937)
 * [Author Avatars List/Block](https://wordpress.org/plugins/author-avatars/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/author-avatars/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/author-avatars/)
 * [Active Topics](https://wordpress.org/support/plugin/author-avatars/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/author-avatars/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/author-avatars/reviews/)

 * 4 replies
 * 4 participants
 * Last reply from: [wpmhy](https://wordpress.org/support/users/wpmhy/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/tinymce-missing-danish-language-javascript-file/#post-14335081)
 * Status: not resolved