-
Notifications
You must be signed in to change notification settings - Fork 17
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
Merge i18n into master #172
Conversation
…an babel the module
Adds messages.pot and first usages of gettext
…go into es_mx. Updated links to be replaced by babel in jinja2
Image localization
…'t hooked up to actually switch language anywhere though
Draft es_MX
… flask-babel style of en_US
A missing '_'
…ld that is always mm/dd/yyyy. Replaces validation to localize the normalized field on init, and normalize the localized field on validation. Uses the jquery datepicker's i18n extensions for configuring the datepicker
…ge settings to ApiRequests so that we query surveys in the right language
revised stool charts
new translations
fix the image
…eploy-again-again
<label for="language" name="language_label">{{ _('Preferred language for future communications') }}*</label> | ||
<br> | ||
<select id="language" name="language"> | ||
<option value="en_US" {% if account.language == "en_US" %} selected {% endif %} >English</option> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should add "en_GB", see #175
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think push beyond this PR to avoid scope creep. Once #173 is in, this particular line will come for free with a change to model_i18n, but until we have a separate .PO file, the difference is pretty meaningless.
microsetta_interface/translations/es_MX/LC_MESSAGES/messages.po
Outdated
Show resolved
Hide resolved
Co-authored-by: Daniel McDonald <[email protected]>
Co-authored-by: Daniel McDonald <[email protected]>
…onary for iterating over
Co-authored-by: Daniel McDonald <[email protected]>
Co-authored-by: Daniel McDonald <[email protected]>
Co-authored-by: Daniel McDonald <[email protected]>
Instruction tweak
Centralize en_us en_US es_mx es_MX strings
No description provided.