r/javascript • u/adrirai • Mar 29 '26
i18next added a controversl console notice and then removed it - the full story with data
https://www.locize.com/blog/i18next-support-notice
42
Upvotes
r/javascript • u/adrirai • Mar 29 '26
43
u/Dextro_PT Mar 29 '26
I think this is even worse because we've already discussed this as a community. That's why
package.jsonhas a specific field to ask for funding, because at one point way too many projects were doing this exact thing.https://docs.npmjs.com/cli/v10/configuring-npm/package-json#funding
76
u/Exac Mar 29 '26
This is not acceptable. Can you imagine if every package did this once, and often more than once?
See how many packages you have installed, and imagine if every one of them logged to the user's console when the code was loaded.
Use
fundinginpackage.jsonfor this. Serious projects do not write to the console. Especially not third party libraries.31
u/rcane Mar 29 '26
Companies who uses open source should really start contributing more.
20
u/CrownLikeAGravestone Mar 29 '26
I sympathise with the author of the article and understand the issue, especially in light of how few real solutions exist. However:
This just comes across as petulant. You took a wrong turn in a difficult spot, you're now correcting that; that's praiseworthy. Doubling down on the reasoning behind that wrong turn or insisting that you're "not capitulating", however...
11
u/fat-jonesy Mar 29 '26
I moved from Locize because it wasn’t as good as simple localize. Sorry guys. Do better, we don’t mind paying for hosting/support but it has to be good.
5
u/card-board-board Mar 29 '26
In general I can sympathize. It's one thing to give something out for the community and it's another to have that gift be used by billion-dollar companies who sell it for profit, and i18next grants them access to billions of people who can't read English.
We really just need an MIT-except-billionaires-and-ai license. Having to beg for donations just doesn't sit right.
4
u/ApkalFR Mar 29 '26
Why does this read like written by AI?
1
u/MegagramEnjoyer Mar 29 '26
I sympathize with small open source teams. It's like a jenga game where small teams are foundational pieces that can literally make the whole app fall apart real quick. I'm a firm believer that unconditional MIT should be removed in favor of a licence that says that if a corporation over $X worth shouldn't be able to use it without sponsorship or consistent contributions.
-1
u/minju9 Mar 29 '26
I hate how open source libraries go from free MIT licensed side project to fill a need, to getting popular, then realize there is money to be made since devs/companies took them up on the permissiveness of the MIT license, then to "fuck you, pay me".
While I'm not opposed to open source devs getting paid, when did it become the expectation? Your library became popular because it was free and open source with a permissive license, don't forget that. Now you are trying to back track and get paid for it. No one forced you to work on this and maintain it. It started as a side project and all was fine, can't it just go back to that? It could, but the devs don't want to go back to corporate jobs.
We saw the same thing recently with the Tailwind layoffs. Tailwind made millions of dollars from Tailwind UI and Refactoring UI, now they want us to feel bad for them. Now they are throwing out the AI buzzword and saying it's taking their customers so it might become abandoned. It could just have been that the honeymoon period for Tailwind UI ended. Their new offerings of React components and premium templates didn't hit. Everyone who wanted Tailwind UI already bought it. I don't think big bad AI is the sole reason. No one forced Tailwind to be maintained or be turned into a company. When you start a business, you are taking on a risk that could eventually result in you laying off or shutting down, but open source maintainers seem to forget that. Adam Wathan could just go back to it being his side project, but he won't. There was also a big influx of corporate sponsors because of that whole situation, but I never heard anything about those devs getting hired back.
The code is free. If you didn't want it to be free, you should have charged from the start.
0
u/moilinet Mar 29 '26
This honestly feels like a step backward. Most of the libraries I work with have moved away from this pattern specifically because of the npm ecosystem burnout. If everyone with a popular package started adding notices to the console, developers would just disable all console logging or add filters everywhere.
The funding field in package.json exists for exactly this reason - to provide a non-intrusive way to communicate funding needs. When i18next shipped this, they probably weren't thinking about the cumulative effect across thousands of packages, but that's the whole lesson the ecosystem learned.
The fact they removed it shows they got the feedback, which is good. But the initial move makes you wonder if they tested it against a real project's dev console or just thought it through in isolation.
-3
u/[deleted] Mar 29 '26
So they removed it out of fear of backlink spam, I.e. out of self interest. Fuck them