Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the CLI a clone of the original xgettext #1

Open
Tom5521 opened this issue Jan 16, 2025 · 3 comments
Open

Make the CLI a clone of the original xgettext #1

Tom5521 opened this issue Jan 16, 2025 · 3 comments

Comments

@Tom5521
Copy link
Owner

Tom5521 commented Jan 16, 2025

I think it would be a good idea because then I can use xgotext for programs like Poedit, besides being compatible with scripts originally made for gettext.

@gedw99
Copy link

gedw99 commented Jan 18, 2025

Going to jump in here to say that I am building a web version that is reactive to the files in the server .

https://github.com/starfederation/datastar/tree/develop/sdk/go Is like htmx but reactive so any change on the server is mirrored in the web . Mutations are easy with just a post back , modify the file and all users screens update to the file change . It’s nice .

All your cli code can be leveraged with a simple call in to the pkg, bypassing the cli

@Tom5521
Copy link
Owner Author

Tom5521 commented Jan 18, 2025

I like that idea, in fact that's why for now I plan to completely separate the CLI from the library to make it reusable.

All your cli code can be leveraged with a simple call in to the pkg, bypassing the cli

Actually, I'm working on it


Can you manage the web version?

The web design and frontend stuff is definitely not my business.

@gedw99
Copy link

gedw99 commented Jan 18, 2025

Yep thats perfect that your making all the logic in a non internal PKG, and the Cli in a CMD.
I can then wrap the PKG with the Web calls into it.

I can do the web version. With DataStar its easy because you dont really touch any HTML much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants