Title: Error in language-definition
Last modified: August 21, 2016

---

# Error in language-definition

 *  Resolved [dr_blue](https://wordpress.org/support/users/dr_blue/)
 * (@dr_blue)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/error-in-language-definition/)
 * Hi!
 * Running WordPress 3.6 with 3.1 of your Twitget plugin
 * You have an error in twitget.php on line 100-101 where line 100’s definition 
   is repeated to the next line
 *  “Nepalese” => “ar”,
    “Norwegian” => “ar”,
 * should be
 *  “Nepalese” => “ar”,
    “Norwegian” => “no”,
 * Also, if I manually enter “no” (or “sv”) in the twitget_options meta-value in
   wp_options I don’t get any output. Your “lang.min.js” is compressed so I can’t
   see and patch that one. Could you look into it or perhaps send me the uncompressed
   lang-file?
 * I’m also missing the Finish language (Suomi), what parameters do you need from
   me to submit a translation?
 * Thanks for an awesome plugin!
    Best, Johan
 * [http://wordpress.org/plugins/twitget/](http://wordpress.org/plugins/twitget/)

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

 *  Anonymous User 9905372
 * (@anonymized-9905372)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/error-in-language-definition/#post-4059904)
 * Hello Johan,
 * I’m currently a bit busy so my answer will be brief.
 * I’m using the moment.js library and the languages are located here:
 * [https://github.com/moment/moment/tree/develop/lang](https://github.com/moment/moment/tree/develop/lang)
 * I include the following js file in the plugin itself:
 * [https://github.com/moment/moment/blob/develop/min/langs.js](https://github.com/moment/moment/blob/develop/min/langs.js)
 * If you have the time, please look at it and test it if it works with the newest
   versions and report here.
 * I’ll update the repo with the latest versions and the bugfix for the error above
   ASAP.
 * Cheers and thanks!
 *  Anonymous User 9905372
 * (@anonymized-9905372)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/error-in-language-definition/#post-4060030)
 * Issue fixed in 3.2.

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

The topic ‘Error in language-definition’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/twitget.svg)
 * [Twitget](https://wordpress.org/plugins/twitget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/twitget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/twitget/)
 * [Active Topics](https://wordpress.org/support/plugin/twitget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/twitget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/twitget/reviews/)

## Tags

 * [language](https://wordpress.org/support/topic-tag/language/)
 * [Norwegian](https://wordpress.org/support/topic-tag/norwegian/)

 * 2 replies
 * 2 participants
 * Last reply from: Anonymous User 9905372
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/error-in-language-definition/#post-4060030)
 * Status: resolved