custom-post-type-ui icon indicating copy to clipboard operation
custom-post-type-ui copied to clipboard

Individual CPT UIs i18n

Open Panzermaus opened this issue 8 years ago • 1 comments

Hello!

The i18n of plugin's own UI is perfect, but UI of each particular CPT is rendered by WP itself. And AFAICS inside WP labels are never __()-wrapped. The last chance for this is just before passing them to WP at custom-post-type-ui.php, lines 342 343 519 520 881.

Perhaps you'll find it useful.

Panzermaus avatar Feb 11 '18 16:02 Panzermaus

The biggest issue with most of those spots is the fact that the __() functions and all its variations aren't meant to parse PHP variables. Because of that, we don't have a great solution for internationalization of user-provided values/labels/etc. Adding to the struggles is that we store everything in the database.

tw2113 avatar Feb 11 '18 23:02 tw2113