.po files not used by WordPress
-
I have WP 2.5.1 running on a webhosting server (Apache), PHP 5.2.4, gettext is enabled.
When I upload a nl_NL.po file into /wp-content/languages the blog isn’t translated (or the /wp-includes/languages).
Except for the posts that are created with the [lang_nl] & [lang_en] tags by my plugin.The wpconfig file has the locale set to NL
(‘WPLANG’, ‘nl_NL’);For example:
In the sidebar.php of my theme I have the following code:
<h2><?php _e(‘Language’); ?></h2>
In the .po file I have created a translation:
msgid “Language”
msgstr “Taal”But what ever locale I use in the browser (or my blog) it’s not translated into Dutch, it remains in English…
any ideas what I am missing?
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘.po files not used by WordPress’ is closed to new replies.