MARKETPLACE
PLUGINS
RELATIVE TIME MULTI-LANGUAGE
Relative Time Multi-Language logo

Relative Time Multi-Language

Published March 2025
   •    Updated this week

Plugin details

This is a fork of the Relative Time with Moment.js plugin originally created by Louis Adekoya.
It uses Moment.js to display a date in human-readable relative time (e.g. “2 days ago”, “in 1 week”, “a few seconds ago”), with multi-language support and dynamic locale loading.
It also supports future dates (e.g. “in 2 days”, “in a month”).

What's new in this version:
✅ Multi-language support with dynamic locale loading
✅ Language selection via dropdown — no manual setup required
✅ Same structure and functionality as the original plugin



Supported languages:
Portuguese (Brazil) — pt-br
English — en
Spanish — es
French — fr
German — de
Italian — it
Japanese — ja
Korean — ko
Chinese (Simplified) — zh-cn
Russian — ru

Credits & Attribution:
This plugin is a respectful fork of Relative Time with Moment.js created by Louis Adekoya.

Our goal was to add native multi-language support while keeping the same lightweight and intuitive experience.

Free

For everyone

5.0 stars   •   1 ratings
43 installs  
This plugin does not collect or track your personal data.

Other actions

Platform

Web

Contributor details

Rafa Chavantes logo
Rafa Chavantes
Joined 2024   •   4 Plugins
View contributor profile

Instructions

Drag the "Relative Time" element onto your Bubble page. Keep it visible (it won’t actually render anything on screen). In the element’s property panel:
Set the Date field to the value you want to compare (e.g. Current cell's Comment's Created Date);
(Optional) Set a refresh interval (in milliseconds);
(Optional) Tick Hide Suffix to remove terms like "ago" or "in";
(Optional) Set a Baseline Date to compare your selected date to another dynamic date instead of the current time;
Select the desired language using the Language Code dropdown.
Add a Text element on the page and set its value to the current value of the Relative Time element.
Example: "Posted " + Relative Time's current value → "Posted 3 hours ago"

Language (required):

You can either:
Select a language from the dropdown ("Language Code Dropdown"), OR
Pass a dynamic language code (e.g. from another dropdown) via the "Language Code Dynamic" field
If both are filled, the dynamic value will override the dropdown


Notes:
You can reference the Relative Time’s current value inside workflows.
You can have multiple instances on the same page, or use it inside repeating groups.
No need to include any external scripts — locales are loaded dynamically based on the selected language.

Types

This plugin can be found under the following types:

Categories

This plugin can be found under the following categories:
Data (things)   •   Calendar   •   Analytics   •   Internationalization   •   Productivity   •   Visual Elements

Resources

Support contact
Documentation
Tutorial

Rating and reviews

Average rating (5.0)

Very helpful plugin!
February 15th, 2026
I was having a javascript error when using the plugin "RELATIVE TIME (LOCALES) - MOMENT.JS". It was solved when using yours. Thank you so much colega!
Bubble