jquery-timeago/locales
2012-04-26 21:53:45 +05: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.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 Locales 2012-03-12 19:49:39 +01:00
jquery.timeago.ko.js Locales 2012-03-12 19:49:39 +01:00
jquery.timeago.nl.js Locales 2012-03-12 19:49:39 +01: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.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.tr.js Locales 2012-03-12 19:49:39 +01:00
jquery.timeago.uk.js Locales 2012-03-12 19:49:39 +01:00
jquery.timeago.uz.js uz locale added 2012-04-26 21:53:45 +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