getodk / getodk/central

Pass i18n.locale to toLocaleLowerCase()

Open
#1,292 1 comment 0 reactions 0 assignees View on GitHub
frontend
Dominant language
JavaScript
Stars
226
Forks
235
Avg merge
2d 22h
Merged PRs (30d)
19

Description

We use `toLocaleLowerCase()` in a few places, but we don't pass it the `i18n.locale` that the rest of the app uses to localize. That means that `toLocaleLowerCase()` might not localize according to the locale the user selected. Instead, we should probably pass in `i18n.locale` wherever we use `toLocaleLowerCase()`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.