Title: include files in plugins
Last modified: August 18, 2016

---

# include files in plugins

 *  [Net-lunden](https://wordpress.org/support/users/net-lunden/)
 * (@net-lunden)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/include-files-in-plugins-1/)
 * I am trying to make a small plugin just for fun. and in that case i would like
   to make a language file, because i am Danish, and if the plugin works i would
   try to make it in English too.
 * the problem is: that i would control the plugin-folder for a specific file some
   thing like this:
    $language = WPLANG .”.mo”;
 * and then i would check the folder for this file (in my case “da_DK.mo” and if
   it is not there the “default.mo” file
 * all my attempt on file_exist didn’t work! some one know how it’s done?
 * (sorry for errors in the language 😉 )

The topic ‘include files in plugins’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [Net-lunden](https://wordpress.org/support/users/net-lunden/)
 * Last activity: [18 years, 7 months ago](https://wordpress.org/support/topic/include-files-in-plugins-1/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
