Skip to content
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

Unifying language for easier localization #194

Closed
stuartpb opened this issue Feb 11, 2017 · 2 comments
Closed

Unifying language for easier localization #194

stuartpb opened this issue Feb 11, 2017 · 2 comments
Labels
Milestone

Comments

@stuartpb
Copy link
Member

stuartpb commented Feb 11, 2017

Some rules in places like username.value.must, like must begin with a letter, right now I'm copying whatever the stated language on the site is - so if the site spells "begin with" as "start with", I do that, too.

To make it easier to localize common rules, though, I should maybe start standardizing on some unified terminology / patterns for "freeform" field like this, so a consumer could ship with a rule that localizes "start with a letter" into its supported languages, even if the profile itself doesn't include "start with a letter" translated into that language. (Indeed, there could even be a policy that certain common strings don't get translated in profiles, under this mechanic.)

@stuartpb
Copy link
Member Author

The specific "begin with X" pattern is being encoded in #251, so that's not a great example.

Indeed, that definitely points to a shortcoming of this: if a pattern is so common that there needs to be standard language to describe it, it's become straightforward enough to structure in fields.

That said, there's still #138, and #137, and the question of representing patterns in the interim before the schema is structured to represent them, so this issue isn't completely invalid - but it's definitely one to be wary of going too deep into.

@stuartpb
Copy link
Member Author

Further discussion should continue into opws/opws-guidelines#6.

@opws opws locked and limited conversation to collaborators Nov 12, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant