jquery-timeago/locales
2012-12-15 14:23:16 +09:00
..
jquery.timeago.ar.js Locales 2012-03-12 19:49:39 +01: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.cy.js fixed title comment in welsh locale file 2012-04-11 13:50:53 +10:00
jquery.timeago.cz.js Locales 2012-03-12 19:49:39 +01: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.js Locales 2012-03-12 19:49:39 +01: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.js Locales 2012-03-12 19:49:39 +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 Locales 2012-03-12 19:49:39 +01:00
jquery.timeago.it.js Locales 2012-03-12 19:49:39 +01:00
jquery.timeago.ja.js fix japanese locale more formally 2012-12-15 14:23:16 +09:00
jquery.timeago.ko.js 띄어쓰기 수정. 2012-05-07 02:52:24 +09: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 Added the locale file to Brazilian Portuguese 2012-07-12 21:13:51 -03: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.ru.js Locales 2012-03-12 19:49:39 +01: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.zh-CN.js Locales 2012-03-12 19:49:39 +01:00
jquery.timeago.zh-TW.js Locales 2012-03-12 19:49:39 +01: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