..
Failed to load latest commit information.
README.md Added README to locales dir Mar 19, 2012
jquery.timeago.af.js Added Afrikaans language Oct 8, 2015
jquery.timeago.ar.js [TASK] Always use strict comparisons Jun 25, 2016
jquery.timeago.az-short.js Added concise Azerbaijani locale Jun 20, 2016
jquery.timeago.az.js Added Azerbaijani locale Jun 20, 2016
jquery.timeago.bg.js Locales Mar 12, 2012
jquery.timeago.bs.js Locales Mar 12, 2012
jquery.timeago.ca.js Locales Mar 12, 2012
jquery.timeago.cs.js [TASK] Always use strict comparisons Jun 25, 2016
jquery.timeago.cy.js fixed title comment in welsh locale file Apr 11, 2012
jquery.timeago.da.js Locales Mar 12, 2012
jquery.timeago.de-short.js Create jquery.timeago.de-short.js Mar 11, 2016
jquery.timeago.de.js Locales Mar 12, 2012
jquery.timeago.dv.js Create jquery.timeago.dv.js Aug 31, 2015
jquery.timeago.el.js Locales Mar 12, 2012
jquery.timeago.en-short.js Add concise english locale Jun 8, 2012
jquery.timeago.en.js Added English locale to use as a template for other languages Mar 21, 2012
jquery.timeago.es-short.js Added Spanish shortened locale Apr 14, 2014
jquery.timeago.es.js Locales Mar 12, 2012
jquery.timeago.et.js [CLEANUP] Remove unnecessary if condition Jun 25, 2016
jquery.timeago.eu.js Renamed Basque locale from eus to eu Dec 9, 2015
jquery.timeago.fa-short.js Create jquery.timeago.fa-short.js Dec 18, 2015
jquery.timeago.fa.js [CLEANUP] Convert all files to UNIX line endings Jun 24, 2016
jquery.timeago.fi.js Locales Mar 12, 2012
jquery.timeago.fr-short.js Shortened French Locale Jan 23, 2013
jquery.timeago.fr.js Locales Mar 12, 2012
jquery.timeago.gl.js Create jquery.timeago.gl.js Dec 2, 2013
jquery.timeago.he.js [TASK] Always use strict comparisons Jun 25, 2016
jquery.timeago.hr.js Added Croatian locale Mar 14, 2012
jquery.timeago.hu.js Locales Mar 12, 2012
jquery.timeago.hy.js Locales Mar 12, 2012
jquery.timeago.id.js Fixed Indonesian locale May 18, 2013
jquery.timeago.is.js Syntax issue Oct 7, 2013
jquery.timeago.it-short.js Add italian shortened file Sep 17, 2015
jquery.timeago.it.js Locales Mar 12, 2012
jquery.timeago.ja.js Fix ja translations for month/monthes Feb 2, 2016
jquery.timeago.jv.js Moved jv locale to locales dir #147 Nov 9, 2013
jquery.timeago.ko.js Update jquery.timeago.ko.js Jul 23, 2015
jquery.timeago.ky.js [TASK] Always use strict comparisons Jun 25, 2016
jquery.timeago.lt.js Lithuanian Apr 30, 2013
jquery.timeago.lv.js Added Latvian translation file. Dec 21, 2015
jquery.timeago.mk.js missing semicolons Apr 6, 2015
jquery.timeago.nl.js Improved Dutch translation May 19, 2015
jquery.timeago.no.js Locales Mar 12, 2012
jquery.timeago.pl.js Locales Mar 12, 2012
jquery.timeago.pt-br-short.js Add Support for Brazilian Portuguese shortened Nov 24, 2014
jquery.timeago.pt-br.js Update jquery.timeago.pt-br.js Oct 30, 2013
jquery.timeago.pt-short.js Add Support for Portuguese shortened Oct 9, 2015
jquery.timeago.pt.js Locales Mar 12, 2012
jquery.timeago.ro.js Fix jquery.timeago.ro.js May 7, 2014
jquery.timeago.rs.js Update jquery.timeago.rs.js Jun 5, 2014
jquery.timeago.ru.js [TASK] Always use strict comparisons Jun 25, 2016
jquery.timeago.rw.js Create jquery.timeago.rw.js Aug 16, 2015
jquery.timeago.si.js Sinhalese language May 1, 2015
jquery.timeago.sk.js Add Slovak locale Feb 1, 2013
jquery.timeago.sl.js [TASK] Always use strict comparisons Jun 25, 2016
jquery.timeago.sr.js Create jquery.timeago.sr.js Feb 11, 2016
jquery.timeago.sv.js Locales Mar 12, 2012
jquery.timeago.th.js add Thai translations Nov 27, 2012
jquery.timeago.tr-short.js Create jquery.timeago.tr-short.js Jun 8, 2016
jquery.timeago.tr.js Fix jquery.timeago.tr.js May 7, 2014
jquery.timeago.uk.js [TASK] Always use strict comparisons Jun 25, 2016
jquery.timeago.uz.js [CLEANUP] Convert all files to UNIX line endings Jun 24, 2016
jquery.timeago.vi.js Added Vietnamese (vi) locale Feb 26, 2014
jquery.timeago.zh-CN.js update jquery.timeago.zh-CN.js Apr 16, 2014
jquery.timeago.zh-TW.js update jquery.timeago.zh-TW.js Apr 16, 2014

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