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

Multi-lang support #7

Open
PicoJr opened this issue Nov 22, 2022 · 4 comments
Open

Multi-lang support #7

PicoJr opened this issue Nov 22, 2022 · 4 comments

Comments

@PicoJr
Copy link
Owner

PicoJr commented Nov 22, 2022

Hey folks,
I'm currently working on a similar lib, because htp development seemed to be dead. But this isn't the case obviously. My lib also tries to tackle multi-lang support for e.g. en = now, de = jetzt, fr = maintenant, ....

I got heavily inspired by your approach of using PEST files. The lib will offer more than just parsing human date strings, but I wonder if you want that multi-lang support as well?

Best regards
Stefan

P.S.: If you want, I can open an issue, combined with a PR 👍

Originally posted by @icepuma in #6 (comment)

@PicoJr
Copy link
Owner Author

PicoJr commented Nov 22, 2022

@icepuma
I must confess I did not think about it.

Providing multi language support sounds daunting from a dev perspective: I am curious how you implement multi-lang support in your own crate?

@icepuma
Copy link

icepuma commented Nov 22, 2022

Ehm, yeah. Basically like this:

This isn't nearly in a usable state, but the direction should be clear :)

@icepuma
Copy link

icepuma commented Nov 22, 2022

I also added a credit to your crate :D

https://github.com/icepuma/temps/blob/main/README.md#credits

@icepuma
Copy link

icepuma commented Nov 22, 2022

Ah yeah. In case you want to talk in person or via a more chat-like medium, you could hop on the Discord of Rawkode via https://rawkode.chat/
I'm idling there in all channels :D

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

No branches or pull requests

2 participants