I'm a little unsure about how to translate my WP plugins, as the codex isn't as clear as it could be.
Let me explain what I have so far. My plugin's PHP file has this bunch of code inside the main administration panel function
if (function_exists('load_plugin_textdomain')) {
load_plugin_textdomain('plugin_name', PLUGINDIR.'/'.dirname(plugin_basename(__FILE__)), dirname(plugin_basename(__FILE__)));
}
I think I can figure out the .POT, .PO and .MO files myself, but I need to make sure that my plugin is actually asking for a new language. What am I missing?