Git Product home page Git Product logo

Comments (3)

str4d avatar str4d commented on September 25, 2024 1

Reading clap-rs/clap#380 it sounds like although there is no built-in support yet, clap does have sufficient APIs to enable localization, and other people have tested doing so with Fluent. Combined with the fact that I already have a clap representation of the CLIs, I think I'll put effort into that direction and see how far I get.

from rage.

str4d avatar str4d commented on September 25, 2024

Potentially useful comparision data: https://github.com/rosetta-rs/argparse-rosetta-rs

from rage.

str4d avatar str4d commented on September 25, 2024

#442 migrates to clap, which made it pretty easy (once I figured out the kinks) to localize the usage and help text. I didn't end up using any of the existing builder-based clap representation, as migrating from gumdrop to clap's derive-based representation ended up being simpler. I still need to figure out how to migrate the completions etc. away from my current approach to de-duplicate, but if that works then this is almost certainly what I'll merge.

from rage.

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.