Oh. That’s why it’s not working for me. I hope that this can be fixed 🙂
Hi Guys,
As this is an experimental plugin – translations are currently not supported. This isn’t laziness, it’s a limitation of the hooks that we can actually get to in core to change the markup and apply styling.
Hopefully we’ll be able to find a better way to address this later on but it’s not something that can be fixed in the immediate future.
Very sorry!
John
Hi John,
thanks for the answer.
a workaround:
change the classes of the css file from english to the translation in your language.
I did this for German here:
http://www.pascal90.de/2011/03/experimentelles-design-furs-wordpress-admin/
Or another solution:
Replace function labs_display_post_states in ui-labs.php with this:
function labs_display_post_states( $post_states ) {
foreach ( $post_states as $post_state => $post_state_title )
$post_state_array[] = '<span class="' . strtolower( str_replace( ' ', '-', $post_state ) ) . '">' . $post_state_title . '</span>';
return $post_state_array;
}
and it will works in all languages 🙂
i am dutch and i have the same problem. can somebody make a code for me?
thanks.
See my solution, it is for all languages.
After doing the exact same workaround like Radovan did, I found this post. 😉
And I only have one addition to his solution.
Because we’re going to use the Array-keys of $post_states, there have to be one small fix in the 1-poststatuses.css:
Replace .password-protected
with .protected
and everything will be fine.