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

Split Android code out to also support Java #3

Open
hakanai opened this issue Aug 31, 2021 · 4 comments
Open

Split Android code out to also support Java #3

hakanai opened this issue Aug 31, 2021 · 4 comments

Comments

@hakanai
Copy link

hakanai commented Aug 31, 2021

🚀 Feature Proposal

Make it possible to use this library for normal Java apps.

The dependency on Android in this project seems fairly minimal so it seems like it should be possible to abstract it and offer two implementations.

Motivation

The codebase I deal with at work has a mix of web and Java desktop apps. We localise into 11 languages and currently use ICU plural formats on the Java side, which developers have a hard time dealing with.

I believe that the i18next format might make it easier to do the right thing with plurals.

Example

Similar to what's documented for the Android version, except that overloads taking Locale would be more convenient.

@jamuhl
Copy link
Member

jamuhl commented Aug 31, 2021

not sure if this is still maintained by the original creator...

@adrai
Copy link
Member

adrai commented Aug 31, 2021

Maybe you @hakanai want to take over and create directly a new Java module?

@hakanai
Copy link
Author

hakanai commented Aug 31, 2021

I guess I could take a shot.

But there is a lot of Android stuff in the current project which makes it a difficult build situation for me.

@StanKocken
Copy link
Contributor

As an original author of this library, I agree your proposal makes a lot of sense.
But @jamuhl is correct we are not maintaining it anymore as we left the project using this library. So we won't be able to invest time into your feature proposal.

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

4 participants