Hello, I’m still trying to get my head around the framework alas I haven’t delved in much yet but it sure looks exciting.
However I can see that piklist is taking over the post edit screen.
Firstly I would like to be able control this behavior and decide on a per post_type basis.
OK on to the bug.
Under includes/class-piklist-cpt.php @~750 there’s a messages array that handles messages like “Post updated. View post”, “Custom field updated” etc analogous to the native one found in wp-admin/edit-form-advanced.php.
In piklist the singular_name ($singular = $obj->labels->singular_name) is used to compile the messages.
Sometimes it is adjusted for lower case using strtolower. However when one uses a language with a different encoding strtolower outputs gibberish.
This is easily solved by using mb_strtolower instead.
The real problem when using WP in a non-English language is that $singular
is translated already and the created gettext messages such as: __($singular.' restored to revision from %s') essentially is a mash-up of LanguageX + English.