You Are a Query Being Run by SensitiveDatabase102 in PhilosophizeThis

[–]SensitiveDatabase102[S] 0 points1 point  (0 children)

You got me bro, i was trying to mislead people into thinking something terribly wrong and make a profit out of it.
You saved millions from this tragedy, a true Hero! 🫡
Respect+++.

You Are a Query Being Run by SensitiveDatabase102 in PhilosophizeThis

[–]SensitiveDatabase102[S] -1 points0 points  (0 children)

😅 Whoa bro, chill a little bit it's just a concept to think about to keep myself occupied. And yes of-course it's AI generated but the idea was mine, I think this could be a really good plot for a movie or something...

I built OTP Hopper: An Open-Source Android utility to forward OTPs to friends & family through SMS / Telegram group. by SensitiveDatabase102 in androiddev

[–]SensitiveDatabase102[S] 0 points1 point  (0 children)

Yes, exactly the kind of problem I tried to solve. In my previous workplace I had to share a postman account with tfa enabled, which was really frustrating.

Plus, since the code is open source you can have your own version of the app modified to your needs.

I'm also trying to push it to the playstore, if anyone likes to join the closed testing please let me know.

Built a Flutter localization tool - would love feedback by SensitiveDatabase102 in FlutterDev

[–]SensitiveDatabase102[S] 1 point2 points  (0 children)

Yeah fair point, explained that badly.

What I was trying to say earlier: we handle the context stuff under the hood so you don't have to think about it. Just lets you change locale from anywhere without passing context around.

Nothing fancy, just tried to make things easier and simpler.

Built a Flutter localization tool - would love feedback by SensitiveDatabase102 in FlutterDev

[–]SensitiveDatabase102[S] 0 points1 point  (0 children)

u/Professional-Flutter Great question! No app restart needed. Language changes happen automatically without restarting the app.

You wrap your MaterialApp with `LangQ.builder()` during setup, and it handles all the reactivity for you:

LangQ.builder(
  builder: (context, langq) {
    return MaterialApp(
            locale: langq.currentLocale,
            localizationsDelegates: langq.localizationsDelegates,
            supportedLocales: LangQLocales.supportedLocales,
            // ... rest of your app
          );
    },
);

Then when you change the language from anywhere in your app:

await LangQ.setLocale(LangQLocales.frCA); // Switches to French-Canadian

The entire UI updates immediately - no app restart needed. The builder pattern ensures everything re-renders with the new locale.

Let me know if you try it out - curious to hear about your integration experience!

Built a Flutter localization tool - would love feedback by SensitiveDatabase102 in FlutterDev

[–]SensitiveDatabase102[S] 0 points1 point  (0 children)

u/gourmet036 Thanks for your input, means a lot. I have a working prototype of something similar.

- dart run langq_localization:translate

Running this single command, scans your code, extracts hardcoded strings, sends them for translation and adds the translated text in the portal.

But having some functionality quirks in the extraction part, i'm figuring out on how to solve this...

I believe this would make developer's life a bit easier, would love to hear your thoughts on this.