wp-cli / wp-cli/i18n-command

ease inheritance in order to support Twig/Timber

Open
#52 24 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

command:i18n-make-pot
Dominant language
Gherkin
Stars
122
Forks
60
Avg merge
1h 24m
Merged PRs (30d)
1

Description

It would be nice for wp-cli make-pot to support twig template out of the box.
Some of the building blocks:
https://github.com/timber/timber/pull/1753
https://github.com/umpirsky/Twig-Gettext-Extractor/pull/60

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 with the wp-cli make-pot entry point and review the linked Timber and Twig-Gettext-Extractor pull requests. Determine the expected Twig template extraction behavior and how support should fit the existing command, then define completion around out-of-the-box Twig support with coverage for the agreed cases.

Written by the indexing model from the issue text.

Assessment

Domain
cli, localization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.