Hours
Hours copied to clipboard
Allow basic localization
It's not necessarily about having the UI in another language. Frankly, everyone* understands it.
It's more about things like the date input field. "m/d/y" is not very common besides one continent
- well, not really everyone
There are locale files! And the locale is set in the application controller:
def set_locale
I18n.locale = http_accept_language.compatible_language_from(I18n.available_locales)
end
Also we use date formats in the locale
date:
formats:
default: '%m/%d/%Y'
with_weekday: '%a %m/%d/%y'
time:
formats:
default: '%a, %b %-d, %Y at %r'
date: '%b %-d, %Y'
short: '%B %d'
I think we should put a language dropdown in edit profile though so you can set it yourself
@Marthyn I don't think we're actually using the date formats for the date entry field, but that would be a nice addition!
oooh haha then we def should yeah :)
"m/d/y" is not very common besides one continent
agreed, this is very annoying for people outside the US :octocat: