You can translate anything. My intention isn't to put the translation files in the plugins though, but to put them right in your locale pack. You can separate things by putting them in separate files if you wish.
I'm thinking of adding the feature so that you can name your translation files like this:
pluginname-plugin.php
This will tell the framework to only include the file if the plugin is enabled. What do you think?
My intention isn't to put the translation files in the plugins though, but to put them right in your locale pack. You can separate things by putting them in separate files if you wish.
@Todd, that's great. I like it. I need it. I don't want to mix all plugin translations in core locale definitions though if it is disabled. Also I don't want to spread plugin translations wide in each plugin dir. I want to manage them in one location AND load on demand if it is enabled.
One thing, it's better to change loading section by plugin version, I think.
Comments
- Spam
- Abuse
0 · Insightful Awesome LOL ·I'm thinking of adding the feature so that you can name your translation files like this: This will tell the framework to only include the file if the plugin is enabled. What do you think?
- Spam
- Abuse
0 · Insightful Awesome LOL ·- Spam
- Abuse
0 · Insightful Awesome LOL ·Indeed, the plugin translation works if I put it into my locale pack.
- Spam
- Abuse
0 · Insightful Awesome LOL ·- Spam
- Abuse
0 · Insightful Awesome LOL ·I don't want to mix all plugin translations in core locale definitions though if it is disabled. Also I don't want to spread plugin translations wide in each plugin dir.
I want to manage them in one location AND load on demand if it is enabled.
One thing, it's better to change loading section by plugin version, I think.
- Spam
- Abuse
0 · Insightful Awesome LOL ·If you dont mind..please visit my blog at Penterjemah
- Spam
- Abuse
0 · Insightful Awesome LOL ·