Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Individual CPT UIs i18n #686

Open
Panzermaus opened this issue Feb 11, 2018 · 1 comment
Open

Individual CPT UIs i18n #686

Panzermaus opened this issue Feb 11, 2018 · 1 comment
Labels
i18n Internationalization
Milestone

Comments

@Panzermaus
Copy link

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.

@tw2113
Copy link
Member

tw2113 commented Feb 11, 2018

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 tw2113 added this to the future release milestone Oct 24, 2018
@tw2113 tw2113 added the i18n Internationalization label May 17, 2022
@tw2113 tw2113 modified the milestones: future release, 2.0.0 Oct 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
i18n Internationalization
Projects
None yet
Development

No branches or pull requests

2 participants