gettext-template: Update POTFILES if there are removed or added files that includes translatable strings
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 28/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- github-actions, shell
- Domain
- ci-cd, localization
Research direction
Start by tracing the existing Gettext Actions workflow and how POTFILES is consumed. Define how added and removed files are detected and how translatable calls such as _(), ngettext(), and dgettext() are recognized; done means POTFILES is synchronized automatically without causing Gettext Actions to fail.
Written by the indexing model from the issue text.
Description
Prerequisites
- I have searched open and closed issues for duplicates.
Feature
Is your feature request related to a problem? Please describe.

Editing POTFILES is not automated at the moment, so if we forget to update POTFILES when adding/removing files that include translatable strings, Gettext Actions will fail.
Describe the solution you'd like
It would be useful if the Gettext Actions can detect added/removed files from a project, check if they include translatable strings (_(), ngettext (), dgettext (), etc.), and if so remove/add the path to them from POTFILES automatically.
Existing work
N/A
Describe alternatives you've considered
N/A
Additional context
N/A
- Dominant language
- Shell
- Stars
- 39
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from elementary/actions
-
Priority: Wishlist
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
elementary/actions#87 ·
-
Bitesize
Difficulty 3/5 1-2 days Newbie friendliness 72/100
elementary/actions#89 · 1 reaction ·
-
Needs Design
Difficulty 4/5 3-5 days Newbie friendliness 30/100
elementary/actions#77 · 1 comment ·
-
Needs Design
Difficulty 3/5 1-2 days Newbie friendliness 45/100
elementary/actions#76 · 1 reaction ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 42/100
elementary/actions#57 ·
All issues in elementary/actions
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
danielmiessler/LifeOS#2218 ·
-
docs(agents): strengthen the no-backslash-escaped-backticks rule with an issue-creation example Open
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
package-update
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
oSoWoSo/vOid_Community_repOsitory#148 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
chore
Difficulty 1/5 Under an hour Newbie friendliness 91/100
alunduil/alunduil-chezmoi#792 ·