jquery-timeago/locales
Ben 570327cf15 update jquery.timeago.zh-TW.js
Chinese don't use blank to separate words.
2014-04-16 13:42:11 -04:00
..
jquery.timeago.ar.js Update jquery.timeago.ar.js 2013-05-05 05:21:27 +03:00
jquery.timeago.bg.js Locales 2012-03-12 19:49:39 +01:00
jquery.timeago.bs.js Locales 2012-03-12 19:49:39 +01:00
jquery.timeago.ca.js Locales 2012-03-12 19:49:39 +01:00
jquery.timeago.cs.js Use proper ISO 639-1 code for Czech translation. 2014-03-05 14:22:02 +01:00
jquery.timeago.cy.js fixed title comment in welsh locale file 2012-04-11 13:50:53 +10:00
jquery.timeago.da.js Locales 2012-03-12 19:49:39 +01:00
jquery.timeago.de.js Locales 2012-03-12 19:49:39 +01:00
jquery.timeago.el.js Locales 2012-03-12 19:49:39 +01:00
jquery.timeago.en-short.js Add concise english locale 2012-06-08 08:50:18 -07:00
jquery.timeago.en.js Added English locale to use as a template for other languages 2012-03-21 16:32:16 -04:00
jquery.timeago.es-short.js Added Spanish shortened locale 2014-04-14 16:55:48 -03:00
jquery.timeago.es.js Locales 2012-03-12 19:49:39 +01:00
jquery.timeago.et.js Estonian translation with better word cases, detection of future and past. 2013-06-27 00:57:36 +03:00
jquery.timeago.fa.js Added Farsi translation 2012-04-11 14:44:57 -04:00
jquery.timeago.fi.js Locales 2012-03-12 19:49:39 +01:00
jquery.timeago.fr-short.js Shortened French Locale 2013-01-23 10:07:12 +01:00
jquery.timeago.fr.js Locales 2012-03-12 19:49:39 +01:00
jquery.timeago.gl.js Create jquery.timeago.gl.js 2013-12-02 10:48:54 +01:00
jquery.timeago.he.js Locales 2012-03-12 19:49:39 +01:00
jquery.timeago.hr.js Added Croatian locale 2012-03-14 10:37:41 +01:00
jquery.timeago.hu.js Locales 2012-03-12 19:49:39 +01:00
jquery.timeago.hy.js Locales 2012-03-12 19:49:39 +01:00
jquery.timeago.id.js Fixed Indonesian locale 2013-05-18 18:36:44 -04:00
jquery.timeago.is.js Syntax issue 2013-10-07 12:41:48 +05:30
jquery.timeago.it.js Locales 2012-03-12 19:49:39 +01:00
jquery.timeago.ja.js Update locales/jquery.timeago.ja.js 2013-03-08 15:14:37 +09:00
jquery.timeago.jv.js Moved jv locale to locales dir #147 2013-11-09 08:04:19 -05:00
jquery.timeago.ko.js 띄어쓰기 수정. 2012-05-07 02:52:24 +09:00
jquery.timeago.lt.js Lithuanian 2013-04-30 16:25:54 +03:00
jquery.timeago.mk.js Added Macedonian localization 2012-11-21 01:25:53 +01:00
jquery.timeago.nl.js Fixed error, thanks to @trilobyte 2012-06-13 14:48:26 +03:00
jquery.timeago.no.js Locales 2012-03-12 19:49:39 +01:00
jquery.timeago.pl.js Locales 2012-03-12 19:49:39 +01:00
jquery.timeago.pt-br.js Update jquery.timeago.pt-br.js 2013-10-30 12:02:35 +00:00
jquery.timeago.pt.js Locales 2012-03-12 19:49:39 +01:00
jquery.timeago.ro.js Locales 2012-03-12 19:49:39 +01:00
jquery.timeago.rs.js Added Serbian Latin translation 2013-07-09 17:14:21 +02:00
jquery.timeago.ru.js Locales 2012-03-12 19:49:39 +01:00
jquery.timeago.sk.js Add Slovak locale 2013-02-01 06:06:54 -08:00
jquery.timeago.sl.js Slovenian translation 2013-03-31 04:59:32 +03:00
jquery.timeago.sv.js Locales 2012-03-12 19:49:39 +01:00
jquery.timeago.th.js add Thai translations 2012-11-27 19:23:28 +07:00
jquery.timeago.tr.js Locales 2012-03-12 19:49:39 +01:00
jquery.timeago.uk.js spelling mistake in uk locale 2012-08-10 10:56:44 +03:00
jquery.timeago.uz.js wrapper function removed, comments added 2012-04-27 01:43:10 +05:00
jquery.timeago.vi.js Added Vietnamese (vi) locale 2014-02-26 14:48:54 -05:00
jquery.timeago.zh-CN.js Locales 2012-03-12 19:49:39 +01:00
jquery.timeago.zh-TW.js update jquery.timeago.zh-TW.js 2014-04-16 13:42:11 -04:00
README.md Added README to locales dir 2012-03-18 20:48:13 -04:00

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