You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This request is not a duplicate of an existing issue
I have read the docs and followed them (if applicable)
I have seached the Roots Discourse for answers and followed them (if applicable)
This is not a personal support request that should be posted on the Roots Discourse community
Description
What's wrong?
The i18n related tasks/scripts are missing.
What have you tried?
I tried to invoke the i18n related tasks/scripts (e.g. yarn translate:pot), but the tasks/scripts weren't found.
I also looked for them in the package.json and searched for a similar functionality in the new build tool (bud) that may replace it. Also searched for these i18n related tasks/scripts in the Sage 10 repository.
Invoke the i18n related tasks/scripts, e.g. yarn translate:pot or npm run translate:pot.
Note that the tasks/scripts don't exist.
Optionally inspect the package.jsonscripts field.
Expected Behavior
The i18n related tasks/scripts can be invoked to generate POT/MO files.
Actual Behavior
The i18n related tasks/scripts don't exist (anymore).
Relevant Log Output
yarn translate:pot
yarn run v1.22.17
error Command "translate:pot" not found.
Versions
WSL 2 (Ubuntu 20.04.3 LTS on Windows 10 x64)
The text was updated successfully, but these errors were encountered:
Terms
Description
What's wrong?
The
i18n
related tasks/scripts are missing.What have you tried?
I tried to invoke the
i18n
related tasks/scripts (e.g.yarn translate:pot
), but the tasks/scripts weren't found.I also looked for them in the
package.json
and searched for a similar functionality in the new build tool (bud
) that may replace it. Also searched for thesei18n
related tasks/scripts in the Sage 10 repository.What insights have you gained?
The
i18n
related tasks/scripts were removed by this still recent PR:https://github.com/roots/sage/pull/2643/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519L20-L22
Possible solutions
Re-add the
i18n
related tasks/scripts.Add the
i18n
functionality tobud
(only if this really would make sense).Temporary workarounds
Manually copy and re-add these
i18n
related tasks/scripts from the commit prior to the PR that removed these tasks/scripts.Steps To Reproduce
i18n
related tasks/scripts, e.g.yarn translate:pot
ornpm run translate:pot
.Note that the tasks/scripts don't exist.
Optionally inspect the
package.json
scripts
field.Expected Behavior
The
i18n
related tasks/scripts can be invoked to generatePOT
/MO
files.Actual Behavior
The
i18n
related tasks/scripts don't exist (anymore).Relevant Log Output
yarn translate:pot yarn run v1.22.17 error Command "translate:pot" not found.
Versions
WSL 2 (Ubuntu 20.04.3 LTS on Windows 10 x64)
The text was updated successfully, but these errors were encountered: