News for hackers. Stuff that matters.
Re:Show HN: I made an AI image enhancer that boosts images 1... by kevinios on Thursday July 18, 2024 @10:44AM (#40996047)
Congrats! Little suggestion if I may, don't use the location of the user to set the default language of the website. Everything on my computer is in English, but your website defaulted to Spanish, as I'm currently in Spain.

Am no expert, but a short article I just found on the topic: https://dev.to/bitdweller/stop-setting-the-language-of-your-...

Re:Show HN: I made an AI image enhancer that boosts images 1... by Digikid13 on Thursday July 18, 2024 @10:52AM (#40996132)
I'm in Washington, USA and it's showing spanish. That's just the default and they don't even use location to set it.
Re:Show HN: I made an AI image enhancer that boosts images 1... by amy-petrik-214 on Thursday July 18, 2024 @09:44PM (#41001431)
About 20% of documented residents of washington speak spanish, and up to 52% including bilingual, documented, and undocumented. Thus it is the majority language.
Re:Show HN: I made an AI image enhancer that boosts images 1... by yangxiaobo on Friday July 19, 2024 @04:15AM (#41003334)
Haha, yes, that's how it is for now. In the future, I will recommend the language based on the browser settings.
Re:Show HN: I made an AI image enhancer that boosts images 1... by Brajeshwar on Thursday July 18, 2024 @11:04AM (#40996245)
In India and Spanish for me too. However, I can select English from the selection dropdown above.

Anyways, why is that even the Big Tech does this! For instance, Google Maps will default to Dutch (which in the land of the Dutch) while my OS, the browser and everything else is in English. I found no option to say “English” and be done with it. I can translate but that isn't the correct way to it.

Re:Show HN: I made an AI image enhancer that boosts images 1... by yangxiaobo on Friday July 19, 2024 @04:13AM (#41003319)
Yes, I believe a better approach is to recommend the language based on the browser settings, allowing users to switch manually if they prefer. This is my plan, and I will release this feature once it's developed.
Re:Show HN: I made an AI image enhancer that boosts images 1... by z3dd on Thursday July 18, 2024 @10:55AM (#40996154)
it's just in Spanish and not dependent on location
Re:Show HN: I made an AI image enhancer that boosts images 1... by yangxiaobo on Friday July 19, 2024 @04:10AM (#41003270)
Thank you very much for your suggestion. Currently, I don't display the website language based on location; I simply set Spanish as the default language. In the future, I will recommend the language based on the user's browser settings, as mentioned in the article you provided. Thanks again for your suggestion.