GuidesOrganization

Language & Region

Set the Rustrak dashboard language (English, Spanish, French, Romanian, Chinese, Japanese), time zone, 24-hour clock and theme per user.

The dashboard speaks English, Spanish (Español), French (Français), Romanian (Română), Simplified Chinese (简体中文) and Japanese (日本語). Language, time zone, clock and theme are personal: each person picks their own in Settings → Preferences, and everything but the theme is saved on their account, so it follows them to any browser.

Language

Pick one under Language and region. It applies at once.

Until someone picks a language, the dashboard follows the one their browser asks for, and falls back to English when it has no translation. Regional variants match their language: any variant of Chinese gets Chinese. The login page and invitation links follow the browser too, since there is no account to read yet.

Time zone

The time zone decides how every date and time is shown.

  • The first time someone opens the dashboard, their browser’s zone is saved to their account, but only if they have none yet. A zone they chose is never overwritten.
  • The picker is searchable and shows each zone’s current UTC offset, so you can type a city or an offset such as +02.
  • Pick UTC to read times the way events record them. Times shown in UTC are labelled as such; times in your own zone are not.

Event and issue times are always stored in UTC. The server’s own log lines are in UTC too, unless RUSTRAK_LOG_TIMEZONE names another zone for them.

Loading demo…

24-hour clock

24-hour clock shows times as 14:30 rather than 2:30 PM, everywhere a date has a time on it: log lines, event and issue timestamps, chart axes and the check-in timeline.

Until someone flips it, times follow their language’s clock: 12-hour in English, 24-hour in the others. Once flipped, the choice holds whatever language they switch to.

Theme

Display offers Light, Dark or System, which follows your operating system.

Over the API

PATCH /auth/me sets the language, the time zone and the clock. It takes your dashboard session, not an API token:

curl -X PATCH -b cookies.txt -H "Content-Type: application/json" \
  -d '{"language": "zh", "timezone": "Asia/Shanghai"}' \
  "$RUSTRAK_URL/auth/me"
Shell
BodyEffect
{"language": "zh"}Sets the language, leaves the time zone alone
{"language": null}Clears it: back to following the browser
{"clock_24h": true}24-hour clock; false for 12-hour, null to follow the language again
{}Changes nothing

Any well-formed language tag and any real time zone name is accepted. A language the dashboard has no translation for falls back like the browser’s would.

Add a language

A new language is one file of translated phrases, with no server change. See Contributing.

Esc

Type to search guides, configuration and the API.