[wp-trac] [WordPress Trac] #7075: Issues with translating plugins
WordPress Trac
wp-trac at lists.automattic.com
Mon Jun 2 12:10:21 GMT 2008
#7075: Issues with translating plugins
---------------------+------------------------------------------------------
Reporter: msi08 | Owner: anonymous
Type: task | Status: new
Priority: normal | Milestone: 2.6
Component: General | Version:
Severity: normal | Keywords:
---------------------+------------------------------------------------------
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?
--
Ticket URL: <http://trac.wordpress.org/ticket/7075>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list