Content pfp
Content
@
0 reply
0 recast
0 reaction

Samuel pfp
Samuel
@samuellhuber.eth
Do we have language info for users? Would love translated frames. User the language property and pass it in the GET/POST requests like a browser/webpage Then make frames accessible to non English speakers too!
0 reply
1 recast
9 reactions

Leovido 🎩Ⓜ️🌱 pfp
Leovido 🎩Ⓜ️🌱
@leovido.eth
Would this be something like localised files within the frame? I.e. Every piece of text has its own version of selected languages in files. Or maybe an embedded translator?
1 reply
0 recast
0 reaction

Samuel pfp
Samuel
@samuellhuber.eth
say the client request frameurl?lang=de then Frame server can ignore it or return the german frame version. nothing more, keep it simple
1 reply
0 recast
1 reaction

Samuel pfp
Samuel
@samuellhuber.eth
or simpler: use locale/accept-language headers https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Language
1 reply
0 recast
1 reaction

Leovido 🎩Ⓜ️🌱 pfp
Leovido 🎩Ⓜ️🌱
@leovido.eth
Didn't know this was possible. As a mobile dev, the projects we worked on required maintaining localised files in the code.
1 reply
0 recast
0 reaction

Samuel pfp
Samuel
@samuellhuber.eth
well you could have that and use i18n or similar to load localized text for each request, though as mobile dev the OS tells you the language for frames you don't get that Info
0 reply
0 recast
1 reaction