Giter Site home page Giter Site logo

Make PO task about grunt-wp-i18n HOT 6 CLOSED

cedaro avatar cedaro commented on June 2, 2024
Make PO task

from grunt-wp-i18n.

Comments (6)

bradyvercher avatar bradyvercher commented on June 2, 2024

Aside from copying and renaming the file, is there anything else this task would need to accomplish?

from grunt-wp-i18n.

shivapoudel avatar shivapoudel commented on June 2, 2024

👍 GaryJones. If there needed features for grunt-potomo then you can sumbit the PR :)

from grunt-wp-i18n.

GaryJones avatar GaryJones commented on June 2, 2024

@shivapoudel I'm not worried if it's a task in wp-i18n or potomo or in a standalone (little more than a wrapper around grunt-contrib-copy) task that can take the src of a .pot, and copy it to a dest, renamed, and have any headers updated for it.

I guess a comparison of WP core .pot vs en_GB (or another language) .po would reveal what, if any, changes in headers there were.

If I'm writing a plugin, and someone new clones it and wants to write me a French translation, I want them to be able to do something like grunt makepo fr_FR, and have the .po setup in the location I've determined, ready for them to work on it.

Does that make sense?

from grunt-wp-i18n.

bradyvercher avatar bradyvercher commented on June 2, 2024

I put together a quick task for doing this in the feature-makepo branch. It'll be awhile before I have time to wrap up the tests and docs, so feel free to submit PRs or suggest improvements.

from grunt-wp-i18n.

shivapoudel avatar shivapoudel commented on June 2, 2024

@bradyvercher when will this ship to the users. I think now we have to merge feature-makepo branch.

from grunt-wp-i18n.

GaryJones avatar GaryJones commented on June 2, 2024

It's on my list to test this branch. Got distracted last night but will try this week.

from grunt-wp-i18n.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.