Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
README.md Added README to locales dir Mar 19, 2012
jquery.timeago.af.js fix paren mismatch in umd wrapper Jul 17, 2017
jquery.timeago.am.js Add Amharic Locale Dec 11, 2017
jquery.timeago.ar.js fix paren mismatch in umd wrapper Jul 17, 2017
jquery.timeago.az-short.js fix paren mismatch in umd wrapper Jul 17, 2017
jquery.timeago.az.js fix paren mismatch in umd wrapper Jul 17, 2017
jquery.timeago.be.js Added belarusian language support May 28, 2018
jquery.timeago.bg.js fix paren mismatch in umd wrapper Jul 17, 2017
jquery.timeago.bs.js fix paren mismatch in umd wrapper Jul 17, 2017
jquery.timeago.ca.js fix paren mismatch in umd wrapper Jul 17, 2017
jquery.timeago.cs.js fix paren mismatch in umd wrapper Jul 17, 2017
jquery.timeago.cy.js fix paren mismatch in umd wrapper Jul 17, 2017
jquery.timeago.da.js fix paren mismatch in umd wrapper Jul 17, 2017
jquery.timeago.de-short.js fix paren mismatch in umd wrapper Jul 17, 2017
jquery.timeago.de.js fix paren mismatch in umd wrapper Jul 17, 2017
jquery.timeago.dv.js fix paren mismatch in umd wrapper Jul 17, 2017
jquery.timeago.el.js fix paren mismatch in umd wrapper Jul 17, 2017
jquery.timeago.en-short.js fix paren mismatch in umd wrapper Jul 17, 2017
jquery.timeago.en.js fix paren mismatch in umd wrapper Jul 17, 2017
jquery.timeago.es-short.js fix paren mismatch in umd wrapper Jul 17, 2017
jquery.timeago.es.js fix paren mismatch in umd wrapper Jul 17, 2017
jquery.timeago.et.js fix paren mismatch in umd wrapper Jul 17, 2017
jquery.timeago.eu.js fix paren mismatch in umd wrapper Jul 17, 2017
jquery.timeago.fa-short.js fix paren mismatch in umd wrapper Jul 17, 2017
jquery.timeago.fa.js fix paren mismatch in umd wrapper Jul 17, 2017
jquery.timeago.fi.js fix paren mismatch in umd wrapper Jul 17, 2017
jquery.timeago.fr-short.js fix paren mismatch in umd wrapper Jul 17, 2017
jquery.timeago.fr.js fix paren mismatch in umd wrapper Jul 17, 2017
jquery.timeago.gl.js fix paren mismatch in umd wrapper Jul 17, 2017
jquery.timeago.he.js fix paren mismatch in umd wrapper Jul 17, 2017
jquery.timeago.hr.js fix paren mismatch in umd wrapper Jul 17, 2017
jquery.timeago.hu.js fix paren mismatch in umd wrapper Jul 17, 2017
jquery.timeago.hy.js fix paren mismatch in umd wrapper Jul 17, 2017
jquery.timeago.id.js fix paren mismatch in umd wrapper Jul 17, 2017
jquery.timeago.is.js fix paren mismatch in umd wrapper Jul 17, 2017
jquery.timeago.it-short.js fix paren mismatch in umd wrapper Jul 17, 2017
jquery.timeago.it.js fix paren mismatch in umd wrapper Jul 17, 2017
jquery.timeago.ja.js fix paren mismatch in umd wrapper Jul 17, 2017
jquery.timeago.jv.js fix paren mismatch in umd wrapper Jul 17, 2017
jquery.timeago.ko.js fix paren mismatch in umd wrapper Jul 17, 2017
jquery.timeago.ky.js fix paren mismatch in umd wrapper Jul 17, 2017
jquery.timeago.lt.js fix paren mismatch in umd wrapper Jul 17, 2017
jquery.timeago.lv.js fix paren mismatch in umd wrapper Jul 17, 2017
jquery.timeago.mk.js fix paren mismatch in umd wrapper Jul 17, 2017
jquery.timeago.nl.js fix paren mismatch in umd wrapper Jul 17, 2017
jquery.timeago.no.js fix paren mismatch in umd wrapper Jul 17, 2017
jquery.timeago.pl.js fix paren mismatch in umd wrapper Jul 17, 2017
jquery.timeago.pt-br-short.js fix paren mismatch in umd wrapper Jul 17, 2017
jquery.timeago.pt-br.js fix paren mismatch in umd wrapper Jul 17, 2017
jquery.timeago.pt-short.js fix paren mismatch in umd wrapper Jul 17, 2017
jquery.timeago.pt.js fix paren mismatch in umd wrapper Jul 17, 2017
jquery.timeago.ro.js fix paren mismatch in umd wrapper Jul 17, 2017
jquery.timeago.rs.js fix paren mismatch in umd wrapper Jul 17, 2017
jquery.timeago.ru.js fix paren mismatch in umd wrapper Jul 17, 2017
jquery.timeago.rw.js fix paren mismatch in umd wrapper Jul 17, 2017
jquery.timeago.si.js fix paren mismatch in umd wrapper Jul 17, 2017
jquery.timeago.sk.js fix paren mismatch in umd wrapper Jul 17, 2017
jquery.timeago.sl.js fix paren mismatch in umd wrapper Jul 17, 2017
jquery.timeago.sq.js Create jquery.timeago.sq.js Dec 4, 2017
jquery.timeago.sr.js fix paren mismatch in umd wrapper Jul 17, 2017
jquery.timeago.sv.js fix paren mismatch in umd wrapper Jul 17, 2017
jquery.timeago.th.js fix paren mismatch in umd wrapper Jul 17, 2017
jquery.timeago.tr-short.js Fix Turkish abbreviation for "minutes" Dec 5, 2017
jquery.timeago.tr.js Fix incorrect translation for "seconds" Dec 5, 2017
jquery.timeago.uk.js fix paren mismatch in umd wrapper Jul 17, 2017
jquery.timeago.ur.js Added urdu locale jquery.timeago.ur.js Feb 19, 2018
jquery.timeago.uz.js fix paren mismatch in umd wrapper Jul 17, 2017
jquery.timeago.vi.js Update jquery.timeago.vi.js May 21, 2018
jquery.timeago.zh-CN.js Update jquery.timeago.zh-CN.js Apr 22, 2018
jquery.timeago.zh-TW.js Update jquery.timeago.zh-TW.js Apr 22, 2018

README.md

Locale override examples for timeago

You can represent time statements in most western languages where a prefix and/or suffix is used.

The default case is to use suffix only (as in English), which you do by providing the suffixAgo and suffixFromNow settings in the strings hash (earlier versions of timeago used the deprecated ago and fromNow options). If present, they are used.

2 minutes [suffixAgo]
2 minutes [suffixFromNow]

In case you want to use prefix only instead of suffix (e.g. Greek), you provide the prefixAgo and prefixFromNow options in the strings hash and leave suffixAgo and suffixFromNow empty or null.

[prefixAgo] 2 minutes
[prefixFromNow] 2 minutes

For languages where you want to use a prefix only for future tense and prefix/suffix for past tense (for example swedish), you can combine the prefix and suffixes as needed.

[prefixAgo] 2 minutes [suffixAgo]
[prefixFromNow] 2 minutes