1# Locale override examples for timeago 2 3You can represent time statements in most western languages where 4a prefix and/or suffix is used. 5 6The default case is to use suffix only (as in English), which you 7do by providing the `suffixAgo` and `suffixFromNow` settings in 8the strings hash (earlier versions of timeago used the deprecated 9`ago` and `fromNow` options). If present, they are used. 10 11 2 minutes [suffixAgo] 12 2 minutes [suffixFromNow] 13 14In case you want to use prefix only instead of 15suffix (e.g. Greek), you provide the `prefixAgo` and 16`prefixFromNow` options in the strings hash and leave `suffixAgo` 17and `suffixFromNow` empty or null. 18 19 [prefixAgo] 2 minutes 20 [prefixFromNow] 2 minutes 21 22For languages where you want to use a prefix only for future 23tense and prefix/suffix for past tense (for example swedish), you 24can combine the prefix and suffixes as needed. 25 26 [prefixAgo] 2 minutes [suffixAgo] 27 [prefixFromNow] 2 minutes 28