-
-
Notifications
You must be signed in to change notification settings - Fork 709
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
Support localization in apps #1033
Comments
Don't invent new protocols unnecessarily; apps should read the HTTP |
@kpreid Sorry, I admit my knowledge of what standards for passing this information through is lacking. I was just thinking of the manner Sandstorm tends to communicate platform user settings to apps. I suppose anonymous users would get their |
So I was trying to read Perhaps a better question additional question on this topic is if we need to add more documentation on what headers are passed through. https://docs.sandstorm.io/en/latest/developing/auth/ mentions Sandstorm-specific ones, like the preferred pronoun, but doesn't mention standard headers which may be passed through. (I see that (Random trivia: Rendering the text for code browsing on GitHub in Edge is very, very broken. I have to look at the Raw view.) |
Sandstorm does pass through More approachable documentation on what headers are in/out/backburnered is probably a good thing. A tool which we could use to make the precise reference documentation (e.g. the source code comments) more web-accessible and linkable would be quite nice, if someone wants to implement a docs generator for capnp or KJ-style C++. :) |
While work is being done and discussions being had on things like variables passed through to apps and the revised profile page, I think it'd make sense to support localization in apps, which could be much simpler than supporting localization for the platform itself. While this may not be a huge priority, it may be worth considering adding these features as other work on the necessary fields are being done.
Sandstorm may be light enough on the amount of text in the UI to at least allow non-English speakers to operate effectively with grains shared with them, if not enough to get around Sandstorm fully, based on common terms (like "sign in") that they have probably seen on tons of other websites that aren't localized. Or the fact that many of those terms may be cognates in their preferred language.
We'd need:
Apps would be able to detect that, display the relevant localization (if supported), and display the default if the language isn't supported by that app.
The text was updated successfully, but these errors were encountered: