Issues with translating plugins
|Reported by:||msi08||Owned by:|
It's not really a ticket to fix something. But there is an issue, I noticed. I'm running WordPress 2.6 (rev 8030) and I wrote some plugins (just for me) and because I'm a native German speaker I created a german translation. Everything worked fine and then I noticed that my plugins are not translated anymore.
I found a way to fix this: I have to use the complete local path starting with "/home/.../wordpress-folder/wp-content/plugins/my-plugin". I'm not unfamiliar with development so I remember my old function to get the path of the plugin. I'm very sure that it always was "wp-content/plugins/my-plugin". But it stopped working at some time. I also noticed that the function "get_template_directory" results the complete local path (again, starting with "/home/my-profile/.../wordpress-folder/..."). btw, I'm using Linux with the Apache server and PHP 5.x.
Something has changed, but I seem to be the only one noticing that. I tested a plugin of another german developer and it did not work. The other guy told me his copy of WP 2.6 is running fine. Actually, it's running different. He told me he loads his plugins and the language file with a path starting with "wp-content" instead of "/home/my-profile/.../wordpress/wp-content".
Is there anyone out there with the same problem as me?