VIEW THIS AS

Auto mode follows the Route Engine until you choose a viewpoint.

YOU ARE HERE

ROUTE CHECK

CONNECTED TO

WHAT NEXT

Use the canonical route for this room, or HELP if you are unsure.

Top Ways to Translate Correctly | CLDR Relative Time, Direction and Calendar Boundaries

Three secondary students review open books and notes together in a classroom.

The safest way to translate relative time is to preserve the event timestamp and reference instant, then let a locale-aware formatter select the correct direction, unit, plural form and familiar phrase. This guide explains CLDR relative-time translation for ‘yesterday’, ‘today’, ‘tomorrow’, ‘in three days’, ‘three days ago’ and ‘last Friday’. It is about the temporal relationship between two instants, not about choosing a prettier English synonym.

A traveller reads ‘tomorrow’ on an appointment screen while the backend scheduled the event for the previous local day. The text is grammatically flawless, but the interface is wrong. A translator cannot fix it by changing a word; the team must know whose timezone establishes the calendar day, what anchor instant is used, whether the product promises calendar days or elapsed hours, and when a phrase should change to an absolute date.

Quick method: This article owns relative-time direction and anchoring. Week-start configuration, plural-category mathematics, timezone name localisation and calendar-era conversions have separate owners. Cross-references clarify the boundary without silently expanding this page into an all-purpose CLDR glossary.

  • Identify the original time or calendar fact before editing words.
  • Declare locale, calendar, timezone, boundary policy and intended audience.
  • Use the appropriate CLDR data and a tested formatter for the actual job.
  • Verify ordinary cases and edge cases against independent facts.
  • Review target-language comprehension, accessibility and release regressions.

The visible problem and the canonical job

A traveller reads ‘tomorrow’ on an appointment screen while the backend scheduled the event for the previous local day. The text is grammatically flawless, but the interface is wrong. A translator cannot fix it by changing a word; the team must know whose timezone establishes the calendar day, what anchor instant is used, whether the product promises calendar days or elapsed hours, and when a phrase should change to an absolute date. This article owns relative-time direction and anchoring. Week-start configuration, plural-category mathematics, timezone name localisation and calendar-era conversions have separate owners. Cross-references clarify the boundary without silently expanding this page into an all-purpose CLDR glossary. The examples below are instructional illustrations; they do not override a source authority’s own calendar, booking or legal conventions. Whenever the original record is ambiguous, request clarification instead of assigning precision that the source never supplied.

First principles: preserve facts before translating the display

1. Reference instant

Relative time is computed against a declared now, not against the moment the translator happens to read a screenshot. Two users may see different correct words at the same moment because their calendar dates differ. This distinction is easy to miss because the source-language screen may contain a perfectly grammatical label. However, a reader encounters the label as a promise about reality, not as an isolated word. Ask what factual claim the expression makes and which inputs must exist for that claim to be checked.

Practical check: Save the reference timestamp, locale, selected timezone and date-field unit with every failing screenshot. In the working file, record the expected result, what would constitute a false statement, and the action a reader would take based on it. That record makes the reviewer accountable for meaning and enables another person to reproduce the judgment without knowing the original writer’s intentions.

2. Past and future direction

CLDR has distinct past and future patterns. A positive duration by itself does not tell a translator whether the event has passed or is coming. This distinction is easy to miss because the source-language screen may contain a perfectly grammatical label. However, a reader encounters the label as a promise about reality, not as an isolated word. Ask what factual claim the expression makes and which inputs must exist for that claim to be checked.

Practical check: Compare event and reference instants before choosing any pattern; inspect both signs at one and more than one unit. In the working file, record the expected result, what would constitute a false statement, and the action a reader would take based on it. That record makes the reviewer accountable for meaning and enables another person to reproduce the judgment without knowing the original writer’s intentions.

3. Calendar day versus elapsed duration

‘Tomorrow’ is a calendar relationship; ‘in 24 hours’ is a duration. They diverge near midnight and across daylight-saving boundaries. This distinction is easy to miss because the source-language screen may contain a perfectly grammatical label. However, a reader encounters the label as a promise about reality, not as an isolated word. Ask what factual claim the expression makes and which inputs must exist for that claim to be checked.

Practical check: Write a test with an event at 00:10 and a reference at 23:50 on the preceding local day. In the working file, record the expected result, what would constitute a false statement, and the action a reader would take based on it. That record makes the reviewer accountable for meaning and enables another person to reproduce the judgment without knowing the original writer’s intentions.

4. Named relative days

Some locales have special one-word forms for yesterday, today and tomorrow, and some distinguish the day before yesterday or after tomorrow. This distinction is easy to miss because the source-language screen may contain a perfectly grammatical label. However, a reader encounters the label as a promise about reality, not as an isolated word. Ask what factual claim the expression makes and which inputs must exist for that claim to be checked.

Practical check: Consult locale data rather than generating the answer by arithmetic plus a generic word. In the working file, record the expected result, what would constitute a false statement, and the action a reader would take based on it. That record makes the reviewer accountable for meaning and enables another person to reproduce the judgment without knowing the original writer’s intentions.

5. Plural categories

The number selects a grammatical form supplied by the locale. English one/other examples must not be copied as a universal two-form rule. This distinction is easy to miss because the source-language screen may contain a perfectly grammatical label. However, a reader encounters the label as a promise about reality, not as an isolated word. Ask what factual claim the expression makes and which inputs must exist for that claim to be checked.

Practical check: Use actual locale plural selectors and test 0, 1, 2, 5 and a larger count. In the working file, record the expected result, what would constitute a false statement, and the action a reader would take based on it. That record makes the reviewer accountable for meaning and enables another person to reproduce the judgment without knowing the original writer’s intentions.

6. Grammatical order

Languages may place numerical values before or after units and direction markers, or change surrounding case and agreement. This distinction is easy to miss because the source-language screen may contain a perfectly grammatical label. However, a reader encounters the label as a promise about reality, not as an isolated word. Ask what factual claim the expression makes and which inputs must exist for that claim to be checked.

Practical check: Format the entire pattern with its placeholder rather than joining translated fragments in English order. In the working file, record the expected result, what would constitute a false statement, and the action a reader would take based on it. That record makes the reviewer accountable for meaning and enables another person to reproduce the judgment without knowing the original writer’s intentions.

7. Relative weekdays

‘Last Monday’ can be relative to a calendar week or to the immediately preceding occurrence, depending on the product’s semantics. This distinction is easy to miss because the source-language screen may contain a perfectly grammatical label. However, a reader encounters the label as a promise about reality, not as an isolated word. Ask what factual claim the expression makes and which inputs must exist for that claim to be checked.

Practical check: Document the product’s weekday policy and test across week boundaries with explicit absolute dates. In the working file, record the expected result, what would constitute a false statement, and the action a reader would take based on it. That record makes the reviewer accountable for meaning and enables another person to reproduce the judgment without knowing the original writer’s intentions.

8. Zero and now

‘0 minutes ago’, ‘now’ and ‘just now’ are not automatically interchangeable, and changing rounding can change user expectations. This distinction is easy to miss because the source-language screen may contain a perfectly grammatical label. However, a reader encounters the label as a promise about reality, not as an isolated word. Ask what factual claim the expression makes and which inputs must exist for that claim to be checked.

Practical check: Determine the zero-window from product policy; do not claim a CLDR threshold that the data does not define. In the working file, record the expected result, what would constitute a false statement, and the action a reader would take based on it. That record makes the reviewer accountable for meaning and enables another person to reproduce the judgment without knowing the original writer’s intentions.

9. Short and narrow forms

Narrow ‘1 hr’ or an abbreviation may save screen space but can be ambiguous without context. This distinction is easy to miss because the source-language screen may contain a perfectly grammatical label. However, a reader encounters the label as a promise about reality, not as an isolated word. Ask what factual claim the expression makes and which inputs must exist for that claim to be checked.

Practical check: Perform a width and comprehension review in a full screen, not just a string editor. In the working file, record the expected result, what would constitute a false statement, and the action a reader would take based on it. That record makes the reviewer accountable for meaning and enables another person to reproduce the judgment without knowing the original writer’s intentions.

10. Time zone anchoring

A timestamp may cross a date boundary when displayed in a viewer’s timezone. Relative labels must be computed with the chosen zone before formatting. This distinction is easy to miss because the source-language screen may contain a perfectly grammatical label. However, a reader encounters the label as a promise about reality, not as an isolated word. Ask what factual claim the expression makes and which inputs must exist for that claim to be checked.

Practical check: Compare one event as seen from Singapore and Los Angeles, and record the display-zone rule. In the working file, record the expected result, what would constitute a false statement, and the action a reader would take based on it. That record makes the reviewer accountable for meaning and enables another person to reproduce the judgment without knowing the original writer’s intentions.

11. Live updates and staleness

Time-sensitive labels become inaccurate when a page is left open overnight, resumed from sleep or cached. This distinction is easy to miss because the source-language screen may contain a perfectly grammatical label. However, a reader encounters the label as a promise about reality, not as an isolated word. Ask what factual claim the expression makes and which inputs must exist for that claim to be checked.

Practical check: Test refresh and background return behavior and ensure absolute event data is not overwritten by rendered labels. In the working file, record the expected result, what would constitute a false statement, and the action a reader would take based on it. That record makes the reviewer accountable for meaning and enables another person to reproduce the judgment without knowing the original writer’s intentions.

12. Accessibility and speech

A screen reader must convey the same past/future direction and unit as visible text; truncated forms can be confusing aloud. This distinction is easy to miss because the source-language screen may contain a perfectly grammatical label. However, a reader encounters the label as a promise about reality, not as an isolated word. Ask what factual claim the expression makes and which inputs must exist for that claim to be checked.

Practical check: Check accessible names, semantic date data and spoken output for every tested locale. In the working file, record the expected result, what would constitute a false statement, and the action a reader would take based on it. That record makes the reviewer accountable for meaning and enables another person to reproduce the judgment without knowing the original writer’s intentions.

A repeatable twelve-stage translation and quality-control method

The method below is designed for editors, language professionals, product teams, teachers and anyone responsible for multilingual dates. Work through the stages in order for a new content type, and revisit the stages after any change to the source data or the localization library. A checklist has value only when each item produces observable evidence.

Step 1: Define the reader’s actual decision

Start with the concrete action the reader will take: attending, booking, judging recency, citing an archive or responding to a deadline. A date expression is not merely decorative. If a user can miss a flight, misread a certificate or miscalculate a closing date, the locale choice and the precision of the statement must be visible in the acceptance tests. For this guide, apply that step specifically to how to translate relative time correctly. Keep one annotated sample showing the source fact, the computed output, the proposed translated wording and the reason it passed. Do not treat a screenshot that merely looks neat as a substitute for a verified factual invariant.

Step 2: Separate stored facts from rendered wording

Record the source value in a stable, typed representation. Preserve every timestamp, calendar designation, endpoint or zone identifier needed to reproduce the result. Only afterward should a formatter create a language-dependent phrase. This separation prevents a translator or machine translator from accidentally rewriting factual information. For this guide, apply that step specifically to how to translate relative time correctly. Keep one annotated sample showing the source fact, the computed output, the proposed translated wording and the reason it passed. Do not treat a screenshot that merely looks neat as a substitute for a verified factual invariant.

Step 3: Identify the locale and explicit user preferences

A language tag is a starting point, not a complete model of the reader. Check user-selected calendar, timezone, hour cycle and formatting preferences. Do not infer preferences from the script used in a sentence; a user reading English may still choose a non-Gregorian calendar or a particular display zone. For this guide, apply that step specifically to how to translate relative time correctly. Keep one annotated sample showing the source fact, the computed output, the proposed translated wording and the reason it passed. Do not treat a screenshot that merely looks neat as a substitute for a verified factual invariant.

Step 4: Document the invariant

Write one sentence naming exactly what cannot change in translation: the real instant, the chronological pair of dates, the selected calendar system or the past-versus-future relationship. This invariant becomes the pass/fail rule when a target-language sentence sounds good but describes a different situation. For this guide, apply that step specifically to how to translate relative time correctly. Keep one annotated sample showing the source fact, the computed output, the proposed translated wording and the reason it passed. Do not treat a screenshot that merely looks neat as a substitute for a verified factual invariant.

Step 5: Select an appropriate CLDR data category

Consult the locale data and the formatting API that corresponds to the task, rather than composing sentences from translated fragments. The right category matters: a relative field is not a date range, and a calendar era is not a timezone name. Keep the chosen library and locale-data versions in the QA record. For this guide, apply that step specifically to how to translate relative time correctly. Keep one annotated sample showing the source fact, the computed output, the proposed translated wording and the reason it passed. Do not treat a screenshot that merely looks neat as a substitute for a verified factual invariant.

Step 6: Produce both full and compact displays

Generate a full expression first, because it makes omissions easier to notice. Only then consider a medium, short or narrow presentation if the product needs it and locale data supports it. A compact form cannot delete the distinctions needed for a reader to take the correct action. For this guide, apply that step specifically to how to translate relative time correctly. Keep one annotated sample showing the source fact, the computed output, the proposed translated wording and the reason it passed. Do not treat a screenshot that merely looks neat as a substitute for a verified factual invariant.

Step 7: Review all changing boundaries

Construct tests around the cases most likely to reveal failure: midnight, month end, year end, daylight-saving transitions, era boundaries, or two endpoints whose fields differ. Ordinary midday examples are useful for learning but insufficient for releasing a localization feature. For this guide, apply that step specifically to how to translate relative time correctly. Keep one annotated sample showing the source fact, the computed output, the proposed translated wording and the reason it passed. Do not treat a screenshot that merely looks neat as a substitute for a verified factual invariant.

Step 8: Check grammar and target-language expectations

Invite a competent target-language reviewer to read the output in a real sentence and actual interface. The task is not to mirror English word order. Check inflection, number agreement, punctuation, abbreviations, line wrapping and whether the expression signals the same relationship to the reader. For this guide, apply that step specifically to how to translate relative time correctly. Keep one annotated sample showing the source fact, the computed output, the proposed translated wording and the reason it passed. Do not treat a screenshot that merely looks neat as a substitute for a verified factual invariant.

Step 9: Test visible and assistive presentation

Read the result in a narrow mobile view, a full desktop screen and an assistive reading context. Compare any accessible label or tooltip to visible data. A correct underlying formatter still fails if clipping hides a year, an era, a direction word or a timezone qualifier. For this guide, apply that step specifically to how to translate relative time correctly. Keep one annotated sample showing the source fact, the computed output, the proposed translated wording and the reason it passed. Do not treat a screenshot that merely looks neat as a substitute for a verified factual invariant.

Step 10: Compare against an independent source of truth

Calculate the expected underlying facts independently of the formatted output where possible. A snapshot that matches itself proves little. Use a known correct date/zone/calendar fixture and compare programmatic fields before judging language, so the QA system can distinguish data errors from translation errors. For this guide, apply that step specifically to how to translate relative time correctly. Keep one annotated sample showing the source fact, the computed output, the proposed translated wording and the reason it passed. Do not treat a screenshot that merely looks neat as a substitute for a verified factual invariant.

Step 11: Record and fix failure at the right layer

Classify problems as source-data defects, missing locale resources, wrong formatter selection, application logic, ambiguous product policy or stylistic translation. Fix the narrowest correct layer and preserve the original evidence. An editor should not compensate for invalid data by changing language to conceal the mistake. For this guide, apply that step specifically to how to translate relative time correctly. Keep one annotated sample showing the source fact, the computed output, the proposed translated wording and the reason it passed. Do not treat a screenshot that merely looks neat as a substitute for a verified factual invariant.

Step 12: Re-run regression after changes

A locale-data update, timezone database update, calendar library change or design refactor can make old outputs differ. Keep a small but demanding test matrix of languages, values and boundary cases, and regenerate examples from typed facts. Inspect both technical correctness and the user’s likely understanding after every relevant release. For this guide, apply that step specifically to how to translate relative time correctly. Keep one annotated sample showing the source fact, the computed output, the proposed translated wording and the reason it passed. Do not treat a screenshot that merely looks neat as a substitute for a verified factual invariant.

Worked examples: source facts, unsafe drafts, corrected decisions

Each worked case begins with a defined source situation. The unsafe line is not a recommendation: it demonstrates a tempting mistake. The safer decision is a model for the type of correction needed, not an instruction to paste the same English words into every language. The final check makes the reasoning transferable.

Worked case 1: Appointment just after midnight

Source situation: At 23:55 local time an appointment begins at 00:15 the next calendar day. The important first step is to name the underlying facts rather than translate an already simplified caption. A useful reviewer asks what the source author intended, which part of that intention is machine-readable, and which part is still only a human assumption.

Unsafe rendering: in one day. Safer decision: tomorrow, with the absolute date available. The unsafe version is dangerous precisely because it can sound natural while breaking the relationship, boundary or identifier being communicated. The safer version keeps the original data separate from the language used to explain it.

Transfer and verification: Check that calendar-based labeling does not imply a full twenty-four hours remain. Test the same scenario after changing the display language and after changing only the relevant date, calendar or timezone preference. If the invariant changes when only language changes, repair the pipeline rather than polishing the sentence. Keep the failed sample in the regression set so later releases cannot reintroduce it.

Worked case 2: Event in sixty minutes

Source situation: At 10:00 the event begins at 11:00 on the same day. The important first step is to name the underlying facts rather than translate an already simplified caption. A useful reviewer asks what the source author intended, which part of that intention is machine-readable, and which part is still only a human assumption.

Unsafe rendering: tomorrow. Safer decision: in one hour. The unsafe version is dangerous precisely because it can sound natural while breaking the relationship, boundary or identifier being communicated. The safer version keeps the original data separate from the language used to explain it.

Transfer and verification: Verify elapsed-hour and calendar-day units are not selected by the same threshold. Test the same scenario after changing the display language and after changing only the relevant date, calendar or timezone preference. If the invariant changes when only language changes, repair the pipeline rather than polishing the sentence. Keep the failed sample in the regression set so later releases cannot reintroduce it.

Worked case 3: Banking status posted yesterday

Source situation: A transaction posted on the preceding local date; the actual hour gap is less than twenty-four hours. The important first step is to name the underlying facts rather than translate an already simplified caption. A useful reviewer asks what the source author intended, which part of that intention is machine-readable, and which part is still only a human assumption.

Unsafe rendering: 1 day ago as a universal paraphrase. Safer decision: yesterday where the product uses calendar-day relative labels. The unsafe version is dangerous precisely because it can sound natural while breaking the relationship, boundary or identifier being communicated. The safer version keeps the original data separate from the language used to explain it.

Transfer and verification: Compare banking timezone, user timezone, statement date and transaction instant. Test the same scenario after changing the display language and after changing only the relevant date, calendar or timezone preference. If the invariant changes when only language changes, repair the pipeline rather than polishing the sentence. Keep the failed sample in the regression set so later releases cannot reintroduce it.

Worked case 4: Booking in three days

Source situation: A booking occurs three calendar days after the viewer’s local date. The important first step is to name the underlying facts rather than translate an already simplified caption. A useful reviewer asks what the source author intended, which part of that intention is machine-readable, and which part is still only a human assumption.

Unsafe rendering: 3 days ago. Safer decision: in 3 days. The unsafe version is dangerous precisely because it can sound natural while breaking the relationship, boundary or identifier being communicated. The safer version keeps the original data separate from the language used to explain it.

Transfer and verification: Validate direction before plural selection, especially for signed API duration fields. Test the same scenario after changing the display language and after changing only the relevant date, calendar or timezone preference. If the invariant changes when only language changes, repair the pipeline rather than polishing the sentence. Keep the failed sample in the regression set so later releases cannot reintroduce it.

Worked case 5: Lost future sign

Source situation: A countdown field stores -4 because the code subtracts event time from current time. The important first step is to name the underlying facts rather than translate an already simplified caption. A useful reviewer asks what the source author intended, which part of that intention is machine-readable, and which part is still only a human assumption.

Unsafe rendering: 4 days ago by direct sign interpretation. Safer decision: in 4 days when the documented API convention means future. The unsafe version is dangerous precisely because it can sound natural while breaking the relationship, boundary or identifier being communicated. The safer version keeps the original data separate from the language used to explain it.

Transfer and verification: Audit timestamp subtraction and define sign convention in test fixtures. Test the same scenario after changing the display language and after changing only the relevant date, calendar or timezone preference. If the invariant changes when only language changes, repair the pipeline rather than polishing the sentence. Keep the failed sample in the regression set so later releases cannot reintroduce it.

Worked case 6: German day-after-tomorrow

Source situation: The target locale has a named relative value at plus two days. The important first step is to name the underlying facts rather than translate an already simplified caption. A useful reviewer asks what the source author intended, which part of that intention is machine-readable, and which part is still only a human assumption.

Unsafe rendering: tomorrow tomorrow. Safer decision: the locale’s appropriate special relative-day form where supported. The unsafe version is dangerous precisely because it can sound natural while breaking the relationship, boundary or identifier being communicated. The safer version keeps the original data separate from the language used to explain it.

Transfer and verification: Compare actual CLDR field data for the active locale and fall back to a count where needed. Test the same scenario after changing the display language and after changing only the relevant date, calendar or timezone preference. If the invariant changes when only language changes, repair the pipeline rather than polishing the sentence. Keep the failed sample in the regression set so later releases cannot reintroduce it.

Worked case 7: Russian counted units

Source situation: A status interface displays several units and numbers. The important first step is to name the underlying facts rather than translate an already simplified caption. A useful reviewer asks what the source author intended, which part of that intention is machine-readable, and which part is still only a human assumption.

Unsafe rendering: append a translated equivalent of ‘days’ to every number. Safer decision: use locale-specific counted relative-time forms. The unsafe version is dangerous precisely because it can sound natural while breaking the relationship, boundary or identifier being communicated. The safer version keeps the original data separate from the language used to explain it.

Transfer and verification: Test plural categories with native-speaker review; never assume English’s two forms. Test the same scenario after changing the display language and after changing only the relevant date, calendar or timezone preference. If the invariant changes when only language changes, repair the pipeline rather than polishing the sentence. Keep the failed sample in the regression set so later releases cannot reintroduce it.

Worked case 8: Japanese ordering

Source situation: A UI combines a count, unit and directional word. The important first step is to name the underlying facts rather than translate an already simplified caption. A useful reviewer asks what the source author intended, which part of that intention is machine-readable, and which part is still only a human assumption.

Unsafe rendering: paste a direct English word order into Japanese. Safer decision: choose the full target-locale future or past relative-time pattern. The unsafe version is dangerous precisely because it can sound natural while breaking the relationship, boundary or identifier being communicated. The safer version keeps the original data separate from the language used to explain it.

Transfer and verification: Inspect where the count and direction naturally belong. Test the same scenario after changing the display language and after changing only the relevant date, calendar or timezone preference. If the invariant changes when only language changes, repair the pipeline rather than polishing the sentence. Keep the failed sample in the regression set so later releases cannot reintroduce it.

Worked case 9: Relative Sunday

Source situation: A reminder reads ‘next Sunday’ and the user views it on a Sunday. The important first step is to name the underlying facts rather than translate an already simplified caption. A useful reviewer asks what the source author intended, which part of that intention is machine-readable, and which part is still only a human assumption.

Unsafe rendering: next Sunday with an unspoken interpretation. Safer decision: calendar date plus an unambiguous relative explanation. The unsafe version is dangerous precisely because it can sound natural while breaking the relationship, boundary or identifier being communicated. The safer version keeps the original data separate from the language used to explain it.

Transfer and verification: Specify whether ‘next’ means seven days away or the next occurrence. Test the same scenario after changing the display language and after changing only the relevant date, calendar or timezone preference. If the invariant changes when only language changes, repair the pipeline rather than polishing the sentence. Keep the failed sample in the regression set so later releases cannot reintroduce it.

Worked case 10: Two-minute threshold

Source situation: An activity feed changes from ‘now’ to ‘2 minutes ago’. The important first step is to name the underlying facts rather than translate an already simplified caption. A useful reviewer asks what the source author intended, which part of that intention is machine-readable, and which part is still only a human assumption.

Unsafe rendering: use now indefinitely. Safer decision: select a measured, documented update window. The unsafe version is dangerous precisely because it can sound natural while breaking the relationship, boundary or identifier being communicated. The safer version keeps the original data separate from the language used to explain it.

Transfer and verification: Verify rounding and cache refresh so the same event does not have contradictory labels. Test the same scenario after changing the display language and after changing only the relevant date, calendar or timezone preference. If the invariant changes when only language changes, repair the pipeline rather than polishing the sentence. Keep the failed sample in the regression set so later releases cannot reintroduce it.

Worked case 11: Locale change in settings

Source situation: A user changes display language without changing event timestamps. The important first step is to name the underlying facts rather than translate an already simplified caption. A useful reviewer asks what the source author intended, which part of that intention is machine-readable, and which part is still only a human assumption.

Unsafe rendering: convert UTC timestamps as if translating words. Safer decision: recompute rendered relative expressions for the same event and anchor. The unsafe version is dangerous precisely because it can sound natural while breaking the relationship, boundary or identifier being communicated. The safer version keeps the original data separate from the language used to explain it.

Transfer and verification: Assert the event instant stays identical after a language toggle. Test the same scenario after changing the display language and after changing only the relevant date, calendar or timezone preference. If the invariant changes when only language changes, repair the pipeline rather than polishing the sentence. Keep the failed sample in the regression set so later releases cannot reintroduce it.

Worked case 12: Timezone travel

Source situation: A user travels from Singapore to Vancouver and opens a past event near midnight. The important first step is to name the underlying facts rather than translate an already simplified caption. A useful reviewer asks what the source author intended, which part of that intention is machine-readable, and which part is still only a human assumption.

Unsafe rendering: preserve a yesterday label generated in Singapore. Safer decision: recompute relative calendar status in the chosen viewer or event timezone. The unsafe version is dangerous precisely because it can sound natural while breaking the relationship, boundary or identifier being communicated. The safer version keeps the original data separate from the language used to explain it.

Transfer and verification: Show the absolute date to prevent doubt and record the zone policy. Test the same scenario after changing the display language and after changing only the relevant date, calendar or timezone preference. If the invariant changes when only language changes, repair the pipeline rather than polishing the sentence. Keep the failed sample in the regression set so later releases cannot reintroduce it.

Worked case 13: Daylight-saving jump

Source situation: A spring transition makes the next local calendar day less than 24 elapsed hours away. The important first step is to name the underlying facts rather than translate an already simplified caption. A useful reviewer asks what the source author intended, which part of that intention is machine-readable, and which part is still only a human assumption.

Unsafe rendering: ‘in 24 hours’ purely from tomorrow. Safer decision: ‘tomorrow’ if the intended unit is calendar day. The unsafe version is dangerous precisely because it can sound natural while breaking the relationship, boundary or identifier being communicated. The safer version keeps the original data separate from the language used to explain it.

Transfer and verification: Test clocks on both sides of a DST change using actual zone rules. Test the same scenario after changing the display language and after changing only the relevant date, calendar or timezone preference. If the invariant changes when only language changes, repair the pipeline rather than polishing the sentence. Keep the failed sample in the regression set so later releases cannot reintroduce it.

Worked case 14: Week label at year end

Source situation: A dashboard marks ‘last week’ on 1 January. The important first step is to name the underlying facts rather than translate an already simplified caption. A useful reviewer asks what the source author intended, which part of that intention is machine-readable, and which part is still only a human assumption.

Unsafe rendering: substitute the previous numbered week label without local week rules. Safer decision: use a documented calendar relation for the intended reporting week. The unsafe version is dangerous precisely because it can sound natural while breaking the relationship, boundary or identifier being communicated. The safer version keeps the original data separate from the language used to explain it.

Transfer and verification: Keep week-year and relative-week rules separate and show the absolute covered dates. Test the same scenario after changing the display language and after changing only the relevant date, calendar or timezone preference. If the invariant changes when only language changes, repair the pipeline rather than polishing the sentence. Keep the failed sample in the regression set so later releases cannot reintroduce it.

Worked case 15: Narrow badge

Source situation: A tiny badge has space for only a short relative phrase. The important first step is to name the underlying facts rather than translate an already simplified caption. A useful reviewer asks what the source author intended, which part of that intention is machine-readable, and which part is still only a human assumption.

Unsafe rendering: strip the directional word to fit. Safer decision: use an approved short locale format with tooltip or accessible expansion. The unsafe version is dangerous precisely because it can sound natural while breaking the relationship, boundary or identifier being communicated. The safer version keeps the original data separate from the language used to explain it.

Transfer and verification: Compare width, screen-reader output and the meaning of positive or negative time. Test the same scenario after changing the display language and after changing only the relevant date, calendar or timezone preference. If the invariant changes when only language changes, repair the pipeline rather than polishing the sentence. Keep the failed sample in the regression set so later releases cannot reintroduce it.

Worked case 16: Audit log export

Source situation: A downloadable report contains ‘three days ago’ but no event timestamp. The important first step is to name the underlying facts rather than translate an already simplified caption. A useful reviewer asks what the source author intended, which part of that intention is machine-readable, and which part is still only a human assumption.

Unsafe rendering: freeze that phrase as a permanent fact. Safer decision: export an absolute timestamp with an optional contextual relative label. The unsafe version is dangerous precisely because it can sound natural while breaking the relationship, boundary or identifier being communicated. The safer version keeps the original data separate from the language used to explain it.

Transfer and verification: Re-open the export next month and verify the historical event is still accurately represented. Test the same scenario after changing the display language and after changing only the relevant date, calendar or timezone preference. If the invariant changes when only language changes, repair the pipeline rather than polishing the sentence. Keep the failed sample in the regression set so later releases cannot reintroduce it.

Worked case 17: Activity feed sorting

Source situation: Several notifications are sorted by human-readable labels instead of timestamps. The important first step is to name the underlying facts rather than translate an already simplified caption. A useful reviewer asks what the source author intended, which part of that intention is machine-readable, and which part is still only a human assumption.

Unsafe rendering: alphabetically sort yesterday and today. Safer decision: sort stable machine instants, then format each label. The unsafe version is dangerous precisely because it can sound natural while breaking the relationship, boundary or identifier being communicated. The safer version keeps the original data separate from the language used to explain it.

Transfer and verification: Test at midnight and with a locale switch; presentation should not change event order. Test the same scenario after changing the display language and after changing only the relevant date, calendar or timezone preference. If the invariant changes when only language changes, repair the pipeline rather than polishing the sentence. Keep the failed sample in the regression set so later releases cannot reintroduce it.

Worked case 18: Notifications delayed by queue

Source situation: A push alert arrives after its event has happened. The important first step is to name the underlying facts rather than translate an already simplified caption. A useful reviewer asks what the source author intended, which part of that intention is machine-readable, and which part is still only a human assumption.

Unsafe rendering: keep the original ‘in ten minutes’ message. Safer decision: recompute or show the event time and delay status when appropriate. The unsafe version is dangerous precisely because it can sound natural while breaking the relationship, boundary or identifier being communicated. The safer version keeps the original data separate from the language used to explain it.

Transfer and verification: Compare event time to delivery time before rendering or sending. Test the same scenario after changing the display language and after changing only the relevant date, calendar or timezone preference. If the invariant changes when only language changes, repair the pipeline rather than polishing the sentence. Keep the failed sample in the regression set so later releases cannot reintroduce it.

Failure modes: why apparently fluent translations still fail

Failure 1: Reversing event and anchor

A subtraction convention is copied into translation code without the sign documented. Repair: Add unit tests for both directions and display the actual instants in debugging logs. To diagnose this failure, ask whether the output is factually wrong, linguistically awkward or both. An awkward sentence requires language work; a wrong date, wrong direction, wrong calendar or wrong endpoint requires a source or formatting correction. Separating these categories prevents a translation review from masking an engineering defect.

Failure 2: Translating fragments

‘ago’ and ‘in’ are localized independently from a number and unit. Repair: Replace assembly with whole CLDR patterns that keep morphology and word order together. To diagnose this failure, ask whether the output is factually wrong, linguistically awkward or both. An awkward sentence requires language work; a wrong date, wrong direction, wrong calendar or wrong endpoint requires a source or formatting correction. Separating these categories prevents a translation review from masking an engineering defect.

Failure 3: Inventing plural forms

English one/other categories are treated as the grammar of every language. Repair: Select correct locale plural categories and validate representative numbers. To diagnose this failure, ask whether the output is factually wrong, linguistically awkward or both. An awkward sentence requires language work; a wrong date, wrong direction, wrong calendar or wrong endpoint requires a source or formatting correction. Separating these categories prevents a translation review from masking an engineering defect.

Failure 4: Confusing elapsed with calendar units

Twenty hours is assumed equivalent to tomorrow. Repair: Define the display unit as calendar day or elapsed time and test midnight boundaries. To diagnose this failure, ask whether the output is factually wrong, linguistically awkward or both. An awkward sentence requires language work; a wrong date, wrong direction, wrong calendar or wrong endpoint requires a source or formatting correction. Separating these categories prevents a translation review from masking an engineering defect.

Failure 5: Ignoring timezone

The server date is treated as the viewer’s local date. Repair: Apply the product’s chosen display timezone before determining yesterday or tomorrow. To diagnose this failure, ask whether the output is factually wrong, linguistically awkward or both. An awkward sentence requires language work; a wrong date, wrong direction, wrong calendar or wrong endpoint requires a source or formatting correction. Separating these categories prevents a translation review from masking an engineering defect.

Failure 6: Leaving stale labels

A page retains ‘in ten minutes’ hours after the event. Repair: Refresh labels from immutable timestamps on resume and at appropriate intervals. To diagnose this failure, ask whether the output is factually wrong, linguistically awkward or both. An awkward sentence requires language work; a wrong date, wrong direction, wrong calendar or wrong endpoint requires a source or formatting correction. Separating these categories prevents a translation review from masking an engineering defect.

Failure 7: Treating ‘next Monday’ as universal

Unstated week semantics lead to disputes. Repair: Prefer an explicit date where the weekday relation could be understood in more than one way. To diagnose this failure, ask whether the output is factually wrong, linguistically awkward or both. An awkward sentence requires language work; a wrong date, wrong direction, wrong calendar or wrong endpoint requires a source or formatting correction. Separating these categories prevents a translation review from masking an engineering defect.

Failure 8: Narrow form ambiguity

A compact label loses direction or unit in translation. Repair: Use full forms in accessible text and evaluate actual reading context. To diagnose this failure, ask whether the output is factually wrong, linguistically awkward or both. An awkward sentence requires language work; a wrong date, wrong direction, wrong calendar or wrong endpoint requires a source or formatting correction. Separating these categories prevents a translation review from masking an engineering defect.

Failure 9: Changing the event data

A translator edits a numeric timestamp to make a label look right. Repair: Repair the formatter or source timezone, never the factual event. To diagnose this failure, ask whether the output is factually wrong, linguistically awkward or both. An awkward sentence requires language work; a wrong date, wrong direction, wrong calendar or wrong endpoint requires a source or formatting correction. Separating these categories prevents a translation review from masking an engineering defect.

Failure 10: Ignoring translation fallback

A missing locale pattern is replaced by an English fragment in a mixed-language sentence. Repair: Use defined locale fallback and test mixed-language regression cases. To diagnose this failure, ask whether the output is factually wrong, linguistically awkward or both. An awkward sentence requires language work; a wrong date, wrong direction, wrong calendar or wrong endpoint requires a source or formatting correction. Separating these categories prevents a translation review from masking an engineering defect.

Practice and transfer: test your own reasoning

Try each exercise before reading the model answer. A strong response says not only what to write, but also why the alternative could mislead and what evidence would settle a disagreement. Use these questions for classroom discussion, editor training or localization release testing.

Practice 1

Question: A message says ‘in one day’ at 23:58 for a task at 00:02. What must you determine?

Model decision: Decide whether the product expresses calendar days or elapsed time and what timezone defines the day. Reasoning: Four minutes and a new calendar day are different facts, so no translation can be approved until the policy is known. For an additional transfer test, keep the source event fixed, change one display parameter and state which facts must remain invariant. This is more diagnostic than asking a student to memorize a single approved English phrase.

Practice 2

Question: A record says ‘2 days ago’ with a positive API delta. Is it necessarily future?

Model decision: No: inspect the documented subtraction convention rather than assuming polarity from the number. Reasoning: API sign meanings are implementation choices while CLDR direction forms are semantic choices. For an additional transfer test, keep the source event fixed, change one display parameter and state which facts must remain invariant. This is more diagnostic than asking a student to memorize a single approved English phrase.

Practice 3

Question: Why is ‘tomorrow’ not simply ‘after 24 hours’?

Model decision: Calendar boundaries and elapsed duration answer different questions. Reasoning: A DST change or 23:55-to-00:05 transition exposes the difference. For an additional transfer test, keep the source event fixed, change one display parameter and state which facts must remain invariant. This is more diagnostic than asking a student to memorize a single approved English phrase.

Practice 4

Question: How should one handle a locale with a special day-after-tomorrow form?

Model decision: Use a supported locale relative form for that offset where the product policy calls for named days. Reasoning: Do not fabricate a two-word literal calque if a language has a customary form. For an additional transfer test, keep the source event fixed, change one display parameter and state which facts must remain invariant. This is more diagnostic than asking a student to memorize a single approved English phrase.

Practice 5

Question: What belongs in a regression fixture?

Model decision: Event instant, reference instant, chosen zone, locale, field unit, expected direction and display text. Reasoning: This permits reproduction after daylight-saving or CLDR updates. For an additional transfer test, keep the source event fixed, change one display parameter and state which facts must remain invariant. This is more diagnostic than asking a student to memorize a single approved English phrase.

Practice 6

Question: A short badge loses its directional word. Is it safe?

Model decision: Only if context and accessible expansion still make the timing unambiguous. Reasoning: Two opposite directions are user-critical, especially around deadlines. For an additional transfer test, keep the source event fixed, change one display parameter and state which facts must remain invariant. This is more diagnostic than asking a student to memorize a single approved English phrase.

Practice 7

Question: What should a PDF activity export contain?

Model decision: Stable event timestamps and timezone references, optionally with explanatory labels. Reasoning: A permanent report cannot rely on a relative word frozen on export day. For an additional transfer test, keep the source event fixed, change one display parameter and state which facts must remain invariant. This is more diagnostic than asking a student to memorize a single approved English phrase.

Practice 8

Question: If the browser language changes, should the event instant change?

Model decision: No; recompute the string while preserving the underlying instant. Reasoning: Presentation changes must not change historical data. For an additional transfer test, keep the source event fixed, change one display parameter and state which facts must remain invariant. This is more diagnostic than asking a student to memorize a single approved English phrase.

Practice 9

Question: What if a screen reader says ‘1 hr’ unclearly?

Model decision: Provide a meaningful full accessible name with the same time direction. Reasoning: Visible compact forms are not an excuse to remove semantic accuracy. For an additional transfer test, keep the source event fixed, change one display parameter and state which facts must remain invariant. This is more diagnostic than asking a student to memorize a single approved English phrase.

Practice 10

Question: A calendar shows ‘last week’ while the report uses ISO weeks. What should be checked?

Model decision: Clarify the reporting week definition and local week-year handling. Reasoning: Relative wording and numeric week systems are distinct contracts. For an additional transfer test, keep the source event fixed, change one display parameter and state which facts must remain invariant. This is more diagnostic than asking a student to memorize a single approved English phrase.

Practice 11

Question: A pushed reminder arrives late. Can it still say ‘in 10 minutes’?

Model decision: Compare delivery time to the event and avoid a now-false future statement. Reasoning: Queuing is a runtime problem, not a vocabulary problem. For an additional transfer test, keep the source event fixed, change one display parameter and state which facts must remain invariant. This is more diagnostic than asking a student to memorize a single approved English phrase.

Practice 12

Question: What if CLDR lacks a special relative phrase?

Model decision: Use an appropriate counted pattern or absolute date under the app’s fallback policy. Reasoning: Absence is not permission to invent a culturally unnatural phrase. For an additional transfer test, keep the source event fixed, change one display parameter and state which facts must remain invariant. This is more diagnostic than asking a student to memorize a single approved English phrase.

Frequently asked questions

What is CLDR relative-time formatting?

It is locale data for rendering directional expressions such as ‘in three days’ and ‘three days ago’, together with named relative values such as yesterday when available. It does not store the event or choose your product’s rounding window. The practical standard is whether another careful reader could reconstruct the intended event, relationship or range from the result. Where the source is uncertain, represent the uncertainty rather than making the translation falsely exact.

How do I translate ‘yesterday’ correctly?

Determine which reference date and timezone the interface uses, then choose the locale’s corresponding relative day expression. If precision is important, make the absolute date accessible too. The practical standard is whether another careful reader could reconstruct the intended event, relationship or range from the result. Where the source is uncertain, represent the uncertainty rather than making the translation falsely exact.

Should translators translate ‘ago’ separately?

Usually not in software. The complete counted pattern should be localized because grammar, word order and inflections may depend on the unit and number. The practical standard is whether another careful reader could reconstruct the intended event, relationship or range from the result. Where the source is uncertain, represent the uncertainty rather than making the translation falsely exact.

Does CLDR tell a product when to display ‘just now’?

CLDR offers forms, not a universal elapsed-seconds threshold for every application. Product policy must specify when to switch labels and when to refresh them. The practical standard is whether another careful reader could reconstruct the intended event, relationship or range from the result. Where the source is uncertain, represent the uncertainty rather than making the translation falsely exact.

Is ‘last Friday’ the same in every country?

No. Natural interpretation can depend on calendar context and local conventions. If a dispute is possible, expose the actual date and document the rule. The practical standard is whether another careful reader could reconstruct the intended event, relationship or range from the result. Where the source is uncertain, represent the uncertainty rather than making the translation falsely exact.

What should be stored in a database?

Store event instants and the timezone or calendar context needed by the product, not only a translated relative sentence. Relative output should be computed for its audience and reference instant. The practical standard is whether another careful reader could reconstruct the intended event, relationship or range from the result. Where the source is uncertain, represent the uncertainty rather than making the translation falsely exact.

How do relative time and plural rules interact?

The direction identifies past or future; number categories select grammatical forms within that direction. See the separate CLDR plural-rules guide for category selection. The practical standard is whether another careful reader could reconstruct the intended event, relationship or range from the result. Where the source is uncertain, represent the uncertainty rather than making the translation falsely exact.

How can a beginner practise?

Start with one fixed timestamp, vary the reference time across midnight, then vary locale and timezone while keeping the event unchanged. Explain every changed label using those facts. The practical standard is whether another careful reader could reconstruct the intended event, relationship or range from the result. Where the source is uncertain, represent the uncertainty rather than making the translation falsely exact.

Quality checklist for publication and multilingual release

  • Source values and their origins are retained; machine identifiers are not translated.
  • Target locale and any explicit user calendar/timezone preferences are recorded.
  • Both common and boundary examples are reviewed with true facts.
  • Any missing or uncertain source fact is flagged instead of guessed.
  • Visual, mobile, screen-reader and export versions preserve meaning.
  • Regressions compare structured inputs as well as rendered language.
  • Relevant internal learning routes are provided without duplicating their canonical teaching jobs.

Further reading, related questions and next useful routes

For adjacent topics, use the canonical pages below rather than stretching one page into a general translation encyclopedia. Word choice, plural morphology, calendar conventions and accessibility all interact, but each has a distinct question and a different verification method.

Primary technical references

The underlying explanations follow published Unicode CLDR specifications. Data patterns change over time, so consult the applicable revision and the locale data used by the actual application instead of assuming that an example remains the current recommendation for every locale.

Deep-dive decisions for relative-time translators

Calendar arithmetic is not duration arithmetic

Consider a message received at 23:50 on Tuesday for an action scheduled at 00:10 on Wednesday. The interval is twenty minutes; the calendar relation is tomorrow. An interface that promises a twenty-minute countdown should say the equivalent of “in 20 minutes”, whereas an agenda organized by day may correctly label the appointment tomorrow. Neither choice is a matter of a translator preferring a shorter word. The difference is the measurement being communicated. A relative-day field counts dates in the selected calendar and timezone; a duration measures elapsed time. Write this distinction into the source specification before translating. If two views of the same event use different models, a user can see different truthful phrases, but the product should explain why and should never silently mutate the event instant.

The correct reference point depends on the product

A social feed typically anchors a relative label to the viewer’s current time; a bank statement may use the institution’s posting date; a travel itinerary may need the departure airport’s civil date; and a court filing may be governed by a specified legal timezone. These are different factual contracts. A translation that assumes the browser’s local clock for all four will be wrong even if its grammar is beautiful. Ask four questions during briefing: which event is being described, what instant or date is the reference, which timezone determines the calendar fields, and whether the visible string must remain true when the viewer changes location. Where the answer is not known, put the issue back to the content owner. Translation quality is an unsuitable substitute for a missing temporal policy.

Rounding must not reverse a deadline

Relative formatting often follows a product decision to round, floor or truncate a measured difference before it reaches a locale pattern. This can create misleading outputs near a boundary. Imagine a deadline in 59 minutes and 40 seconds. One screen might show “in 1 hour”; another might show “in 59 minutes”. Both may be defensible in general information, but a checkout deadline or medicine reminder demands an explicitly chosen policy. At zero, an implementation might accidentally display “in 0 minutes” even though the deadline has passed. The correct audit runs a sequence at minus one second, zero, plus one second and either side of the chosen switch threshold, with positive and negative meanings clearly documented. Translators should not invent the threshold from sample copy or assume CLDR itself supplies it.

Counted phrases and named phrases are separate resources

“Yesterday” is not necessarily a shortened version of “one day ago”. A named relative value such as yesterday, today or tomorrow has a calendar-day meaning, while the counted past and future patterns are built from a number, a field and a direction. In some locales there are forms corresponding to the day before yesterday and the day after tomorrow. In other contexts a counted phrase is more appropriate, especially for durations or when the locale lacks a special lexical item. The translator’s task is to find the correct CLDR field and apply a product-specific selection rule. Do not try to manufacture a named form by removing a number from a counted expression. Such editing can change the implicit calendar relationship and produce unnatural grammar.

Plural categories are grammatical, not numerical labels

CLDR number categories are chosen by locale rules that examine the relevant count. A common failure is to translate “day” once and then append a plural suffix for values greater than one. That may pass an English test and fail elsewhere. The entire past or future relative-time pattern may differ across categories, and the placement of the number may change. A professional test suite uses several characteristic counts rather than only one and two. The reviewer should verify the output both as a stand-alone UI label and in a surrounding sentence, because a grammatically valid phrase can still be unsuitable in context. Keep the actual numeric value independent of the target string; machine-translating digits inside the phrase is not a pluralization strategy.

Static media cannot behave like a live clock

Relative time is especially dangerous in screenshots, printed guides, archived emails and downloaded reports. A label that was true at publication may be false when someone reads it later. If a screenshot illustrates a feature, caption it with a specific sample date and explain that relative labels change. If a permanent export documents an event, include an absolute date or timestamp in the relevant authoritative timezone. Email reminders should be generated using the event and intended delivery time, not copied from an editor preview. A notification arriving late may need a revised message. These decisions reduce the gap between a successful localization test on the day of writing and the truth of the message months afterward.

A compact relative-time QA matrix

Start with six reference cases: the same minute; one minute into the past; one minute into the future; yesterday by local date but less than 24 elapsed hours; tomorrow by local date but less than 24 elapsed hours; and a named weekday that can be interpreted in two ways. Repeat them with two timezones on opposite sides of midnight. For each locale, test the visible phrase, an accessible full phrase, the preserved event instant and the app’s selection policy. Add a daylight-saving transition for any region that observes one. This matrix is small enough for an editor to understand yet strong enough to reveal sign errors, rounding mismatches and stale-label defects. Save the test data, not only screenshots, because a screenshot without a reference instant cannot be independently verified.

How to teach the principle to new translators

Give students the same timestamp and ask them to describe it from three different reference dates. Then change the display timezone while keeping the timestamp unchanged. Ask which part of the sentence moved and which fact remained stable. A second exercise presents the fluent but unsafe phrase “tomorrow, in 24 hours” at 23:55 and asks students to explain why the two parts need not be equivalent. Finally, present short English strings and require students to identify the exact CLDR data needed before proposing translations. These tasks cultivate causal reasoning rather than memorisation. The result is transferable to delivery estimates, medication reminders, school calendars and activity feeds, where the wording can directly influence a person’s next action.

Conclusion: translate the relationship, not just the label

This article owns relative-time direction and anchoring. Week-start configuration, plural-category mathematics, timezone name localisation and calendar-era conversions have separate owners. Cross-references clarify the boundary without silently expanding this page into an all-purpose CLDR glossary. A reliable translation is one that keeps the source’s facts intact, lets local language express them naturally, and survives an independent test. Readers should come away able to decide what to preserve, which formatter to choose, what can go wrong and how to verify the result instead of trusting the appearance of fluency.