WebDevStudios / WebDevStudios/custom-post-type-ui

Individual CPT UIs i18n

Open
#686 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

i18n
Dominant language
PHP
Stars
641
Forks
139
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in custom-post-type-ui.php at lines 342-343, 519-520, and 881, where the custom post type labels are passed to WordPress. Trace how each CPT's labels are assembled and determine how translation should be applied before that handoff. Done means the labels for individual CPT UIs can be translated, with the relevant behavior verified in the existing plugin workflow.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
backend, internationalization
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.